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

Bug #7050 unimplyRight: 2nd parameter does not work
Submitted: 2006-03-07 09:07 UTC Modified: 2006-03-09 18:45 UTC
From: goethals_d at hotmail dot com Assigned: lsmith
Status: Closed Package: LiveUser_Admin (version 0.16.10)
PHP Version: 5.0.4 OS: WXP
Roadmaps: (Not assigned)    
Subscription  


 [2006-03-07 09:07 UTC] goethals_d at hotmail dot com (dominique)
Description: ------------ liveuser_rights contains 1 record with right_id=5 and has_implied=1. liveuser_implied_right contains 1 record with right_id=5 and implied_right_id=1. When deleting implied rights for right_id=5, the value of has_implied remains, whether the 2nd parameter of unimplyRight is set to true or to false Test script: --------------- $filter = array('right_id' => 5); $deleteImpliedRight = $LUA->perm->unimplyRight($filter, true); Expected result: ---------------- If 2nd parameter = true, has_implied should be set to 0. Actual result: -------------- has_implied=1

Comments

 [2006-03-07 14:27 UTC] lsmith
corrected package
 [2006-03-09 18:45 UTC] lsmith
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.