follow up r61715 - minor style nit
authorMark A. Hershberger <mah@users.mediawiki.org>
Fri, 26 Feb 2010 02:34:00 +0000 (02:34 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Fri, 26 Feb 2010 02:34:00 +0000 (02:34 +0000)
includes/User.php

index 2dea90b..f09294f 100644 (file)
@@ -1153,7 +1153,7 @@ class User {
                if ( $this->mBlock->load( $ip , $this->mId ) ) {
                        wfDebug( __METHOD__ . ": Found block.\n" );
                        $this->mBlockedby = $this->mBlock->mBy;
-                       if( $this->mBlockedby == "0" )
+                       if( $this->mBlockedby == 0 )
                                $this->mBlockedby = $this->mBlock->mByName;
                        $this->mBlockreason = $this->mBlock->mReason;
                        $this->mHideName = $this->mBlock->mHideName;