#23408 [Com]: Auth: getAuthData bug

From: Date: Fri, 18 Jul 2003 12:10:42 +0000
Subject: #23408 [Com]: Auth: getAuthData bug
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18374@lists.php.net to get a copy of this message
ID: 23408 Comment by: shuet at lagardere dot fr Reported By: jon at jellybob dot co dot uk Status: Assigned Bug Type: PEAR related Operating System: Debian 3.0 PHP Version: 4.3.2RC1 Assigned To: yavo New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#18374) next »