r35993 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35992‎ | r35993 | r35994 >
Date:13:13, 7 June 2008
Author:rotem
Status:old
Tags:
Comment:
Avoid another notice.
Modified paths:
  • /trunk/extensions/CentralAuth/CentralAuthUser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/CentralAuthUser.php
@@ -324,7 +324,7 @@
325325 public function getAuthToken() {
326326 $this->loadState();
327327
328 - if (!$this->mAuthToken) {
 328+ if (!isset( $this->mAuthToken ) || !$this->mAuthToken) {
329329 $this->resetAuthToken();
330330 }
331331 return $this->mAuthToken;

Status & tagging log