diff options
Diffstat (limited to 'includes/StubObject.php')
-rw-r--r-- | includes/StubObject.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/StubObject.php b/includes/StubObject.php index ed3b117a..63945f27 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -121,7 +121,7 @@ class StubUser extends StubObject { $user->setLoaded( true ); } else { $user = User::loadFromSession(); - wfRunHooks('AutoAuthenticate',array($user)); + wfRunHooks('AutoAuthenticate',array(&$user)); } return $user; } |