From: Roan Kattouw Date: Thu, 27 Mar 2008 13:54:43 +0000 (+0000) Subject: Fixing E_NOTICE X-Git-Tag: 1.31.0-rc.0~48783 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=b25035bed82ac4274e491bd8b22fa5b9cb8622f9;p=lhc%2Fweb%2Fwiklou.git Fixing E_NOTICE --- diff --git a/includes/api/ApiQueryInfo.php b/includes/api/ApiQueryInfo.php index 672e218b21..0e6e633c21 100644 --- a/includes/api/ApiQueryInfo.php +++ b/includes/api/ApiQueryInfo.php @@ -54,7 +54,7 @@ class ApiQueryInfo extends ApiQueryBase { global $wgUser; $params = $this->extractRequestParams(); - $fld_protection = false; + $fld_protection $fld_talkid = $fld_subjectid = false; if(!is_null($params['prop'])) { $prop = array_flip($params['prop']); $fld_protection = isset($prop['protection']);