r68391 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68390‎ | r68391 | r68392 >
Date:06:05, 22 June 2010
Author:reedy
Status:ok
Tags:
Comment:
Fix typo (and change wrong variable)
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryUsers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryUsers.php
@@ -126,7 +126,7 @@
127127
128128 $data = array();
129129 $res = $this->select( __METHOD__ );
130 - foreach ( $rowes as $row ) {
 130+ foreach ( $res as $row ) {
131131 $user = User::newFromRow( $row );
132132 $name = $user->getName();
133133 $data[$name]['name'] = $name;

Status & tagging log