From eea6c59c9631e3e26a59d46a129f6c7e972c358e Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 27 Sep 2008 11:26:34 +0000 Subject: [PATCH] Kill undefined variable warnings. --- includes/api/ApiQueryInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); -- 2.20.1