From a0d01f9cae842b7ac671e41d26cc07071f0760c1 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 28 Oct 2009 05:20:17 +0000 Subject: [PATCH] Follow-up r58237: fixing PHP Notice: Undefined variable: deprecated in /var/www/w/includes/api/ApiBase.php on line 633 --- includes/api/ApiBase.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1