Index: trunk/extensions/CentralAuth/CentralAuthUser.php |
— | — | @@ -324,7 +324,7 @@ |
325 | 325 | public function getAuthToken() { |
326 | 326 | $this->loadState(); |
327 | 327 | |
328 | | - if (!$this->mAuthToken) { |
| 328 | + if (!isset( $this->mAuthToken ) || !$this->mAuthToken) { |
329 | 329 | $this->resetAuthToken(); |
330 | 330 | } |
331 | 331 | return $this->mAuthToken; |