r58938 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58937‎ | r58938 | r58939 >
Date:07:53, 12 November 2009
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r58385: Initialize variable to avoid a PHP notice.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockip.php
@@ -99,6 +99,7 @@
100100 $user = User::newFromName( $this->BlockAddress );
101101
102102 $alreadyBlocked = false;
 103+ $otherBlockedMsgs = array();
103104 if( $err && $err[0] != 'ipb_already_blocked' ) {
104105 $key = array_shift( $err );
105106 $msg = wfMsgReal( $key, $err );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r58385* (bug 20478) Add a note to Special:Block when the IP is already globally blo...raymond09:35, 31 October 2009

Status & tagging log