diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-14 20:23:00 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-14 20:23:00 -0700 |
commit | 959667c009ece0d67945ad09774c2bd091ba1450 (patch) | |
tree | b855906e86a444a3b64875c70e0e259e6377fbd3 /Zotlabs/Access | |
parent | 46152cc56b84538df9ba80621d70367112819819 (diff) | |
download | volse-hubzilla-959667c009ece0d67945ad09774c2bd091ba1450.tar.gz volse-hubzilla-959667c009ece0d67945ad09774c2bd091ba1450.tar.bz2 volse-hubzilla-959667c009ece0d67945ad09774c2bd091ba1450.zip |
If somebody used hooks to create a new permission role, there was no mechanism to insert the new role into the dropdown list of roles at selection time.
Diffstat (limited to 'Zotlabs/Access')
-rw-r--r-- | Zotlabs/Access/PermissionRoles.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Access/PermissionRoles.php b/Zotlabs/Access/PermissionRoles.php index 9855a05c4..c8b4953a5 100644 --- a/Zotlabs/Access/PermissionRoles.php +++ b/Zotlabs/Access/PermissionRoles.php @@ -308,6 +308,8 @@ class PermissionRoles { ] ]; + call_hooks('list_permission_roles',$roles); + return $roles; } |