Home » Authentication » LiveUser » Bug #1996
Undefined index type
Details
| Submitted | 2004-07-27 18:18 UTC |
|---|---|
| From | worker at mompopmedia dot com |
| Assigned | lsmith |
| Status | Closed |
| Package | LiveUser |
| PHP Version | 5.0.0 |
| OS | mandrake 10 |
| Roadmaps | (Not assigned) |
Comments
[2004-07-27 18:18 UTC] worker at mompopmedia dot com
Description:
------------
line 694 of LiveUser_Admin_Perm_Container_MDB2_Complex::getRights()
triggers an unecissary notice
if (!$_rights[$id]['type']) {
$_rights[$id]['type'] = 'granted';
}
should be
if (!isset($_rights[$id]['type']) || !$_rights[$id]['type']) {
$_rights[$id]['type'] = 'granted';
}
[2004-07-27 18:24 UTC] worker at mompopmedia dot com
same goes for the following right below:
if (isset($options['with_inherited_rights']) && $options['with_inherited_rights'] &&
(isset($options['where_user_id']) ||
isset($options['where_group_id']))
)
[2004-07-28 20:10 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.