http://www.mediawiki.org/wiki/Special:Code/MediaWiki/83402
Revision: 83402 Author: reedy Date: 2011-03-06 20:38:00 +0000 (Sun, 06 Mar 2011) Log Message: ----------- Fix where ipb_deleted from r83390 Modified Paths: -------------- trunk/phase3/includes/api/ApiQueryBase.php Modified: trunk/phase3/includes/api/ApiQueryBase.php =================================================================== --- trunk/phase3/includes/api/ApiQueryBase.php 2011-03-06 20:20:24 UTC (rev 83401) +++ trunk/phase3/includes/api/ApiQueryBase.php 2011-03-06 20:38:00 UTC (rev 83402) @@ -489,7 +489,7 @@ // Don't show hidden names if ( !$userCanViewHiddenUsers ) { - $this->addWhere( 'ipb_deleted IS NULL' ); + $this->addWhereFld( 'ipb_deleted', 0 ); } } } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs