From: Platonides Date: Tue, 8 Feb 2011 22:08:58 +0000 (+0000) Subject: Use of undefined constant h in line 250. Follow up to r81558 X-Git-Tag: 1.31.0-rc.0~32106 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=8ce709377547211d37fb039c0ea2bac149449091;p=lhc%2Fweb%2Fwiklou.git Use of undefined constant h in line 250. Follow up to r81558 --- diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 836f363a09..e612a60ac3 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -247,7 +247,7 @@ class ApiQueryImageInfo extends ApiQueryBase { $p = $this->getModulePrefix(); $h = $image->getHandler(); - if ( !h ) { + if ( !$h ) { // No handler, so no value for iiurlparam is valid. $this->dieUsage( "Invalid value for {$p}urlparam", "urlparam" ); }