Home » Authentication » LiveUser » Bug #2614
getGroups handling 'where_is_active' option
Details
| Submitted | 2004-10-25 14:48 UTC |
|---|---|
| From | nu_sorry at burti dot lv |
| Assigned | dufuz |
| Status | Closed |
| Package | LiveUser |
| PHP Version | 4.3.8 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2004-10-25 14:48 UTC] nu_sorry at burti dot lv
Description:
------------
LiveUser version 0.13.2
If there is passwd where_is_active option to LiveUser_Admin_Perm_Container_DB_Medium::getGroups function, wrong query and results are generated.
I suppose mistake is on line 676 of LiveUser/Admin/Perm/Container/DB_Medium.php
Reproduce code:
---------------
$ADMIN->perm->getGroups(array('where_is_active'=>'Y'));
Expected result:
----------------
All active groups.
Actual result:
--------------
Empty array.
[2004-10-25 15:59 UTC] nu_sorry at burti dot lv
That line haven't been changed in version 0.13.3, so bug is still there