From 8ce709377547211d37fb039c0ea2bac149449091 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 8 Feb 2011 22:08:58 +0000 Subject: [PATCH] Use of undefined constant h in line 250. Follow up to r81558 --- includes/api/ApiQueryImageInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ); } -- 2.20.1