From: Roan Kattouw Date: Sat, 27 Sep 2008 11:26:34 +0000 (+0000) Subject: Kill undefined variable warnings. X-Git-Tag: 1.31.0-rc.0~45070 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=eea6c59c9631e3e26a59d46a129f6c7e972c358e;p=lhc%2Fweb%2Fwiklou.git Kill undefined variable warnings. --- diff --git a/includes/api/ApiQueryInfo.php b/includes/api/ApiQueryInfo.php index 96a98e68a8..1715103684 100644 --- a/includes/api/ApiQueryInfo.php +++ b/includes/api/ApiQueryInfo.php @@ -173,7 +173,7 @@ class ApiQueryInfo extends ApiQueryBase { global $wgUser; $params = $this->extractRequestParams(); - $fld_protection = $fld_talkid = $fld_subjectid = false; + $fld_protection = $fld_talkid = $fld_subjectid = $fld_url = $fld_readable = false; if(!is_null($params['prop'])) { $prop = array_flip($params['prop']); $fld_protection = isset($prop['protection']);