wrong array parameter

This commit is contained in:
Jacob G 2015-01-15 21:11:19 -05:00
parent d2fd954b97
commit 066b521780

View file

@ -65,7 +65,7 @@ class ConfirmAccountUIHooks {
return true; return true;
} }
$count = ConfirmAccount::getOpenRequestCount( '*' ); $count = ConfirmAccount::getOpenRequestCount( '*' );
if ( sizeof($count['open']) > 0 ) { if ( $count['open'] > 0 ) {
$out->prependHtml( $out->prependHtml(
'<div id="mw-confirmaccount-msg" class="plainlinks mw-confirmaccount-bar">' . '<div id="mw-confirmaccount-msg" class="plainlinks mw-confirmaccount-bar">' .
$context->msg( 'confirmaccount-newrequests' )->numParams( $count['open'] )->parse() . $context->msg( 'confirmaccount-newrequests' )->numParams( $count['open'] )->parse() .