r44472 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r44471
|
r44472
|
r44473
>
Date:
21:51, 11 December 2008
Author:
catrope
Status:
ok (
Comments
)
Tags:
Comment:
API: (
bug 16594
) Use strict comparison in list=allusers. This'll hopefully make [[User:]] on enwiki show up again; he's currently being dropped from the user list because false == ''
Modified paths:
/trunk/phase3/includes/api/ApiQueryAllUsers.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/api/ApiQueryAllUsers.php
—
—
@@ -121,7 +121,7 @@
122
122
$row = $db->fetchObject($res);
123
123
$count++;
124
124
125
- if (!$row || $lastUser != $row->user_name) {
125
+ if (!$row || $lastUser !== $row->user_name) {
126
126
// Save the last pass's user data
127
127
if (is_array($lastUserData))
128
128
$data[] = $lastUserData;
Comments
#
Comment by
Brion VIBBER
(
talk
|
contribs
)
22:47, 11 December 2008
I've deleted the record btw.
Status & tagging log
22:47, 11 December 2008
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r44472
[
removed:
new
added:
ok]