r48217 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48216‎ | r48217 | r48218 >
Date:11:52, 9 March 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix trim() in r48105
Modified paths:
  • /trunk/extensions/GlobalBlocking/SpecialGlobalBlockStatus.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalBlocking/SpecialGlobalBlockStatus.php
@@ -61,7 +61,7 @@
6262
6363 function loadParameters() {
6464 global $wgRequest;
65 - $this->mAddress = trim(Block::normaliseRange( $wgRequest->getText( 'address' ) ));
 65+ $this->mAddress = Block::normaliseRange( trim( $wgRequest->getText( 'address' ) ) );
6666 $this->mReason = $wgRequest->getText( 'wpReason' );
6767 $this->mWhitelistStatus = $wgRequest->getCheck( 'wpWhitelistStatus' );
6868 $this->mEditToken = $wgRequest->getText( 'wpEditToken' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48105Trim IPs in other forms toowerdna00:59, 7 March 2009

Status & tagging log