Index: trunk/phase3/includes/User.php |
— | — | @@ -1476,8 +1476,8 @@ |
1477 | 1477 | * @return Int The user's ID; 0 if the user is anonymous or nonexistent |
1478 | 1478 | */ |
1479 | 1479 | function getId() { |
1480 | | - if( $this->mId === null and $this->mName !== null |
1481 | | - and User::isIP( $this->mName ) ) { |
| 1480 | + if( $this->mId === null && $this->mName !== null |
| 1481 | + && User::isIP( $this->mName ) ) { |
1482 | 1482 | // Special case, we know the user is anonymous |
1483 | 1483 | return 0; |
1484 | 1484 | } elseif( $this->mId === null ) { |