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_Admin » Bug #7332

There is a typo in a variable name

Details

Submitted2006-04-06 22:24 UTC
Fromkangov at endai dot com
StatusDuplicate
PackageLiveUser_Admin
PHP Version5.1.2
OSFreeBSD 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!