r98608 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98607‎ | r98608 | r98609 >
Date:05:26, 1 October 2011
Author:aaron
Status:ok
Tags:
Comment:
MFT r98607
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/GlobalBlocking/SpecialGlobalBlockList.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/GlobalBlocking/SpecialGlobalBlockList.php
@@ -105,7 +105,10 @@
106106 }
107107
108108 function loadParameters( $ip ) {
109 - $this->mSearchIP = Block::normaliseRange( trim( $ip ) );
 109+ $ip = trim( $ip );
 110+ $this->mSearchIP = ( $ip !== '' )
 111+ ? Block::normaliseRange( $ip )
 112+ : '';
110113 }
111114 }
112115

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98607Fixed loadParameters() to allow for no input IPaaron05:25, 1 October 2011

Status & tagging log