http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98630
Revision: 98630 Author: aaron Date: 2011-10-01 21:28:00 +0000 (Sat, 01 Oct 2011) Log Message: ----------- FU r98628: * Fixed field name case * Fixed IS NULL check (was backwards) Modified Paths: -------------- trunk/extensions/ConfirmAccount/dataclasses/ConfirmAccount.class.php trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php Modified: trunk/extensions/ConfirmAccount/dataclasses/ConfirmAccount.class.php =================================================================== --- trunk/extensions/ConfirmAccount/dataclasses/ConfirmAccount.class.php 2011-10-01 21:26:57 UTC (rev 98629) +++ trunk/extensions/ConfirmAccount/dataclasses/ConfirmAccount.class.php 2011-10-01 21:28:00 UTC (rev 98630) @@ -145,7 +145,7 @@ public static function getOpenRequestCount( $type ) { $dbr = wfGetDB( DB_SLAVE ); $open = (int)$dbr->selectField( 'account_requests', 'COUNT(*)', - array( 'acr_type' => $type, 'acr_deleted' => 0, 'acr_held IS NOT NULL' ), + array( 'acr_type' => $type, 'acr_deleted' => 0, 'acr_held IS NULL' ), __METHOD__ ); $held = (int)$dbr->selectField( 'account_requests', 'COUNT(*)', Modified: trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php =================================================================== --- trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php 2011-10-01 21:26:57 UTC (rev 98629) +++ trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php 2011-10-01 21:28:00 UTC (rev 98630) @@ -14,7 +14,7 @@ protected $reqBio; protected $submitType; protected $reqAreas; - protected $reqAreaset; + protected $reqAreaSet; protected $reason; function __construct() { _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs