Auth weirdness?

From: Date: Fri, 31 Jan 2003 14:10:48 +0000
Subject: Auth weirdness?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12863@lists.php.net to get a copy of this message
Hi, some time ago I posted a patch for Auth::getAuthData(). Since a didn't used pear stuff for I while, I supposed that it was fixed. Now I've got a fresh install of all the pear classes, and Auth still has the same bug(?). Am I missing something? Anyway I attach my little patch again in case it might be useful... av

--- Auth/Auth.php 2003-01-31 15:04:24.000000000 +0100 +++ Auth/Auth.php.new 2003-01-31 15:05:02.000000000 +0100 @@ -521,8 +521,8 @@ { $session = &Auth::_importGlobalVariable("session"); - if (isset($session['auth']['data'])) { - return $session['auth']['data']; + if (isset($session['auth'][$data])) { + return $session['auth'][$data]; } else { return null; }
« previous php.pear.dev (#12863) next »