Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.16.14

Bug #1996 Undefined index type
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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 8 + 41 = ?

 
 [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'; }

Comments

 [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.