r64838 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64837‎ | r64838 | r64839 >
Date:22:15, 9 April 2010
Author:catrope
Status:ok
Tags:
Comment:
1.16wmf4: MFT r64837
Modified paths:
  • /branches/wmf/1.16wmf4/includes/specials/SpecialUserlogin.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/includes/specials/SpecialUserlogin.php
@@ -708,7 +708,7 @@
709709 return;
710710 }
711711 $u = User::newFromName( $this->mName );
712 - if( is_null( $u ) ) {
 712+ if( !$u instanceof User ) {
713713 $this->mainLoginForm( wfMsg( 'noname' ) );
714714 return;
715715 }
Property changes on: branches/wmf/1.16wmf4/includes/specials/SpecialUserlogin.php
___________________________________________________________________
Modified: svn:mergeinfo
716716 Merged /trunk/phase3/includes/specials/SpecialUserlogin.php:r64837

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64837Fix another instance of the result of User::newFromName() being compared with...catrope22:12, 9 April 2010

Status & tagging log