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 @@
109
109
} else {
110
110
$titles = array();
111
111
$count = 0;
112
- foreach ( $result as $row ) {
112
+ foreach ( $res as $row ) {
113
113
if ( ++$count > $params['limit'] ) {
114
114
// We've reached the one extra which shows that
115
115
// there are additional pages to be had. Stop here...
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r68337
Per
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/66168#c7252
switch w...
reedy
18:48, 20 June 2010
Status & tagging log
09:02, 23 September 2010
Reedy
(
talk
|
contribs
)
changed the
status
of r73543
[
removed:
new
added:
ok]