Home » Authentication » LiveUser_Admin » Bug #7332
There is a typo in a variable name
Details
| Submitted | 2006-04-06 22:24 UTC |
|---|---|
| From | kangov at endai dot com |
| Status | Duplicate |
| Package | LiveUser_Admin |
| PHP Version | 5.1.2 |
| OS | FreeBSD 5.4 |
| Roadmaps | (Not assigned) |
Comments
[2006-04-06 22:24 UTC] kangov at endai dot com
Description:
------------
In Admin.php on line 606:
$first = ($permParam['select'] == 'row');
should be:
$first = ($authParam['select'] == 'row');
I think it is a simple copy and paste error.
Test script:
---------------
error_reporting(E_ALL);
$users = $LiveUser_Admin->getUsers('auth');
Expected result:
----------------
It will generate a php "Notice" about $permParam['select'] not being defined and it is obvious it is not.
Actual result:
--------------
No Notice error
[2006-04-07 17:10 UTC] kangov at endai dot com
Yep, I see that, sorry I did not see good enough before posting the bug.
Thanks for the good code!