Index: trunk/phase3/includes/api/ApiQueryUsers.php |
— | — | @@ -126,7 +126,7 @@ |
127 | 127 | |
128 | 128 | $data = array(); |
129 | 129 | $res = $this->select( __METHOD__ ); |
130 | | - foreach ( $rowes as $row ) { |
| 130 | + foreach ( $res as $row ) { |
131 | 131 | $user = User::newFromRow( $row ); |
132 | 132 | $name = $user->getName(); |
133 | 133 | $data[$name]['name'] = $name; |