Use of undefined constant h in line 250. Follow up to r81558
authorPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:08:58 +0000 (22:08 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:08:58 +0000 (22:08 +0000)
includes/api/ApiQueryImageInfo.php

index 836f363..e612a60 100644 (file)
@@ -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" );
                }