From: Raimond Spekking Date: Wed, 28 Oct 2009 05:20:17 +0000 (+0000) Subject: Follow-up r58237: fixing PHP Notice: Undefined variable: deprecated in /var/www/w... X-Git-Tag: 1.31.0-rc.0~39067 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=a0d01f9cae842b7ac671e41d26cc07071f0760c1;p=lhc%2Fweb%2Fwiklou.git Follow-up r58237: fixing PHP Notice: Undefined variable: deprecated in /var/www/w/includes/api/ApiBase.php on line 633 --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 01e160467a..dd496b85b5 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -529,6 +529,7 @@ abstract class ApiBase { $multi = false; $type = gettype($paramSettings); $dupes = false; + $deprecated = false; } else { $default = isset ($paramSettings[self :: PARAM_DFLT]) ? $paramSettings[self :: PARAM_DFLT] : null; $multi = isset ($paramSettings[self :: PARAM_ISMULTI]) ? $paramSettings[self :: PARAM_ISMULTI] : false;