PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Authentication » LiveUser » Bug #2614

getGroups handling 'where_is_active' option

Details

Submitted2004-10-25 14:48 UTC
Fromnu_sorry at burti dot lv
Assigneddufuz
StatusClosed
PackageLiveUser
PHP Version4.3.8
OSWindows 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