Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -272,7 +272,7 @@ |
273 | 273 | return false; |
274 | 274 | } |
275 | 275 | |
276 | | - if ( !$u instanceof User ) { |
| 276 | + if ( !is_object( $u ) ) { |
277 | 277 | $this->mainLoginForm( wfMsg( 'noname' ) ); |
278 | 278 | return false; |
279 | 279 | } |