From 14e998aae524762f06334138970cdd4ac02b2f21 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 20 Feb 2011 13:59:40 +0000 Subject: [PATCH] Followup r82509, prefix the code for urlwidth too --- 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 cd82be5887..f0e612a56a 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -500,7 +500,7 @@ class ApiQueryImageInfo extends ApiQueryBase { public function getPossibleErrors() { $p = $this->getModulePrefix(); return array_merge( parent::getPossibleErrors(), array( - array( 'code' => 'iiurlwidth', 'info' => "{$p}urlheight cannot be used without {$p}urlwidth" ), + array( 'code' => "{$p}urlwidth", 'info' => "{$p}urlheight cannot be used without {$p}urlwidth" ), array( 'code' => 'urlparam', 'info' => "Invalid value for {$p}urlparam" ), array( 'code' => 'urlparam_no_width', 'info' => "{$p}urlparam requires {$p}urlwidth" ), array( 'code' => 'urlparam_urlwidth_mismatch', 'info' => "The width set in {$p}urlparm doesnt't " . -- 2.20.1