From 8e9a43114a7224587ba5b0a4790f5131b5aa6ab4 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 11 Dec 2008 21:51:01 +0000 Subject: [PATCH] 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 == '' --- includes/api/ApiQueryAllUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index 220327d9c6..828318c535 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -121,7 +121,7 @@ class ApiQueryAllUsers extends ApiQueryBase { $row = $db->fetchObject($res); $count++; - if (!$row || $lastUser != $row->user_name) { + if (!$row || $lastUser !== $row->user_name) { // Save the last pass's user data if (is_array($lastUserData)) $data[] = $lastUserData; -- 2.20.1