Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.16.14

Request #2127 getAuthUserId() method modification to get not the array but real auth_user_id
Submitted: 2004-08-15 14:57 UTC
From: liveuser at mail dot ru Assigned:
Status: Closed Package: LiveUser
PHP Version: 4.3.3 OS: All
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 17 - 4 = ?

 
 [2004-08-15 14:57 UTC] liveuser at mail dot ru
Description: ------------ It would be good to modify the $admin->perm->getAuthUserId() method to get not the array but the real auth_user_id. When I using $admin->perm->getAuthUserId() method to get the auth_user_id from perm_user_id it returns an array and not the auth_user_id itself. I think its incorrect, because I must to have additional var to get the real auth_user_id property, for example: $t = $admin->perm->getAuthUserId($perm_user_id); $auth_user_id = $t['auth_user_id'];

Comments

 [2004-08-28 15:46 UTC] smith at backendmedia dot com
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. i have added an optional parameter to only fetch the id