#23408 [Asn->Csd]: Auth: getAuthData bug

From: Date: Sat, 19 Jul 2003 19:23:41 +0000
Subject: #23408 [Asn->Csd]: Auth: getAuthData bug
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18440@lists.php.net to get a copy of this message
ID: 23408 Updated by: yavo@php.net Reported By: jon at jellybob dot co dot uk -Status: Assigned +Status: Closed Bug Type: PEAR related Operating System: Debian 3.0 PHP Version: 4.3.2RC1 Assigned To: yavo New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. This has been fixed in CVS Previous Comments: ------------------------------------------------------------------------ [2003-07-18 07:10:41] shuet at lagardere dot fr in function setAuth() $session['auth']['data'] = array(); should be replaced by if (!isset($session['auth']['data']) || !is_array($session['auth']['data'])) { $session['auth']['data'] = array(); } Regards, Seb ------------------------------------------------------------------------ [2003-04-29 08:21:54] arnaud@php.net assigned to maintainer ------------------------------------------------------------------------ [2003-04-29 08:16:16] jon at jellybob dot co dot uk I don't know if I've just misunderstood the purpose of the option, but when I define the option db_fields for the DB driver it doesn't seem to put them anywhere. What I thought it should do is allow me to go $auth->getAuthData('uid') to get the uid field from my database. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23408&edit=1

« previous php.pear.dev (#18440) next »