Index: trunk/phase3/includes/api/ApiQueryAllUsers.php |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | foreach ( $res as $row ) { |
135 | 135 | $count++; |
136 | 136 | |
137 | | - if ( !$row || $lastUser !== $row->user_name ) { |
| 137 | + if ( $lastUser !== $row->user_name ) { |
138 | 138 | // Save the last pass's user data |
139 | 139 | if ( is_array( $lastUserData ) ) { |
140 | 140 | $fit = $result->addValue( array( 'query', $this->getModuleName() ), |