Index: branches/wmf/1.16wmf4/includes/specials/SpecialUserlogin.php |
— | — | @@ -708,7 +708,7 @@ |
709 | 709 | return; |
710 | 710 | } |
711 | 711 | $u = User::newFromName( $this->mName ); |
712 | | - if( is_null( $u ) ) { |
| 712 | + if( !$u instanceof User ) { |
713 | 713 | $this->mainLoginForm( wfMsg( 'noname' ) ); |
714 | 714 | return; |
715 | 715 | } |
Property changes on: branches/wmf/1.16wmf4/includes/specials/SpecialUserlogin.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
716 | 716 | Merged /trunk/phase3/includes/specials/SpecialUserlogin.php:r64837 |