r73543 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73542‎ | r73543 | r73544 >
Date:16:50, 22 September 2010
Author:platonides
Status:ok
Tags:
Comment:
Fix bug from r68337. The variable is called $res, not $result
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryImages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryImages.php
@@ -108,7 +108,7 @@
109109 } else {
110110 $titles = array();
111111 $count = 0;
112 - foreach ( $result as $row ) {
 112+ foreach ( $res as $row ) {
113113 if ( ++$count > $params['limit'] ) {
114114 // We've reached the one extra which shows that
115115 // there are additional pages to be had. Stop here...

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68337Per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/66168#c7252 switch w...reedy18:48, 20 June 2010

Status & tagging log