Index: trunk/extensions/AbuseFilter/AbuseFilterVariableHolder.php |
— | — | @@ -330,7 +330,7 @@ |
331 | 331 | ); |
332 | 332 | |
333 | 333 | $users = array(); |
334 | | - foreach ( $res as $user ) { |
| 334 | + while ( $user = $dbr->fetchRow( $res ) ) { |
335 | 335 | $users[] = $user[0]; |
336 | 336 | } |
337 | 337 | $result = $users; |