From 20548c2596ef6cfe9c629c2914e83f5aec0b3523 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 7 Mar 2011 22:58:26 +0000 Subject: [PATCH] Fix r83390, need to do where ipb_deleted IS NULL as we're left joining in the table, so it can be null Duh --- includes/api/ApiQueryBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index a6469ab5ab..e49da10f73 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -491,7 +491,7 @@ abstract class ApiQueryBase extends ApiBase { // Don't show hidden names if ( !$userCanViewHiddenUsers ) { - $this->addWhereFld( 'ipb_deleted', 0 ); + $this->addWhere( 'ipb_deleted = 0 OR ipb_deleted IS NULL' ); } } } -- 2.20.1