translate more old perms calls

This commit is contained in:
redmatrix
2016-07-19 17:52:45 -07:00
parent 6a4573b935
commit ea83032863
4 changed files with 5 additions and 5 deletions

View File

@@ -379,7 +379,7 @@ class Settings extends \Zotlabs\Web\Controller {
);
}
else {
$role_permissions = get_role_perms($_POST['permissions_role']);
$role_permissions = \Zotlabs\Access\PermissionRoles::role_perms($_POST['permissions_role']);
if(! $role_permissions) {
notice('Permissions category could not be found.');
return;