Home » Authentication » LiveUser » Bug #2127
getAuthUserId() method modification to get not the array but real auth_user_id
Details
| 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 |
| Status | Closed |
| Package | LiveUser |
| PHP Version | 4.3.3 |
| OS | All |
| Roadmaps | (Not assigned) |
Comments
[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'];
[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