Index: branches/wmf/1.17wmf1/includes/api/ApiQueryBase.php |
— | — | @@ -465,7 +465,7 @@ |
466 | 466 | |
467 | 467 | // Don't show hidden names |
468 | 468 | if ( !$userCanViewHiddenUsers ) { |
469 | | - $this->addWhereFld( 'ipb_deleted', 0 ); |
| 469 | + $this->addWhere( 'ipb_deleted = 0 OR ipb_deleted IS NULL' ); |
470 | 470 | } |
471 | 471 | } |
472 | 472 | } |