From: Raimond Spekking Date: Thu, 12 Nov 2009 07:53:56 +0000 (+0000) Subject: Follow-up r58385: Initialize variable to avoid a PHP notice. X-Git-Tag: 1.31.0-rc.0~38846 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=096707f0b1a62c713731c35661161b18d790a4ae;p=lhc%2Fweb%2Fwiklou.git Follow-up r58385: Initialize variable to avoid a PHP notice. --- diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index ff76353d42..7d15b14c66 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -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 );