r41305 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41304‎ | r41305 | r41306 >
Date:11:26, 27 September 2008
Author:catrope
Status:old
Tags:
Comment:
Kill undefined variable warnings.
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryInfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryInfo.php
@@ -173,7 +173,7 @@
174174 global $wgUser;
175175
176176 $params = $this->extractRequestParams();
177 - $fld_protection = $fld_talkid = $fld_subjectid = false;
 177+ $fld_protection = $fld_talkid = $fld_subjectid = $fld_url = $fld_readable = false;
178178 if(!is_null($params['prop'])) {
179179 $prop = array_flip($params['prop']);
180180 $fld_protection = isset($prop['protection']);