Use of undefined constant h in line 250. Follow up to r81558
[lhc/web/wiklou.git] / 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" );
                }