r62993 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62992‎ | r62993 | r62994 >
Date:02:34, 26 February 2010
Author:mah
Status:ok
Tags:
Comment:
follow up r61715 - minor style nit
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -1153,7 +1153,7 @@
11541154 if ( $this->mBlock->load( $ip , $this->mId ) ) {
11551155 wfDebug( __METHOD__ . ": Found block.\n" );
11561156 $this->mBlockedby = $this->mBlock->mBy;
1157 - if( $this->mBlockedby == "0" )
 1157+ if( $this->mBlockedby == 0 )
11581158 $this->mBlockedby = $this->mBlock->mByName;
11591159 $this->mBlockreason = $this->mBlock->mReason;
11601160 $this->mHideName = $this->mBlock->mHideName;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61715Fix "you are blocked" message for users who were blocked by zero-ID user.vasilievvv14:27, 30 January 2010

Status & tagging log