r81780 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81779‎ | r81780 | r81781 >
Date:22:08, 8 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Use of undefined constant h in line 250. Follow up to r81558
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryImageInfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryImageInfo.php
@@ -247,7 +247,7 @@
248248 $p = $this->getModulePrefix();
249249
250250 $h = $image->getHandler();
251 - if ( !h ) {
 251+ if ( !$h ) {
252252 // No handler, so no value for iiurlparam is valid.
253253 $this->dieUsage( "Invalid value for {$p}urlparam", "urlparam" );
254254 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81558(bug 26548) Make multi-paged documents (PDFs) work with ForeignAPIRepo (aka I...bawolff08:49, 5 February 2011

Status & tagging log