Follow-up r58385: Initialize variable to avoid a PHP notice.
authorRaimond Spekking <raymond@users.mediawiki.org>
Thu, 12 Nov 2009 07:53:56 +0000 (07:53 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Thu, 12 Nov 2009 07:53:56 +0000 (07:53 +0000)
includes/specials/SpecialBlockip.php

index ff76353..7d15b14 100644 (file)
@@ -99,6 +99,7 @@ class IPBlockForm {
                $user = User::newFromName( $this->BlockAddress );
 
                $alreadyBlocked = false;
+               $otherBlockedMsgs = array();
                if( $err && $err[0] != 'ipb_already_blocked' ) {
                        $key = array_shift( $err );
                        $msg = wfMsgReal( $key, $err );