user-management icon indicating copy to clipboard operation
user-management copied to clipboard

compact(): Undefined variable: throwException while saving permission

Open psad73 opened this issue 2 years ago • 0 comments

https://github.com/webvimark/user-management/blob/6e4e7498a95870eaf16c5f317e79ec318e0e023a/models/rbacDB/AbstractItem.php#L268

It seems, the line should be like: public static function beforeRemoveChildren($parentName, $childrenNames, $throwException = false)

Otherwise, while saving permission (/user-management/permission/set-child-routes?id=blahblahblah) the app returns an error.

psad73 avatar Aug 11 '22 10:08 psad73