diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-04-20 18:29:42 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-16 10:50:22 +0300 |
commit | 72a76060bf83ea841bea4037e29b5bf11879a955 (patch) | |
tree | 6abb94e81c8e3f37761ecc3a22cf5c2d6c66e5cb /settings/Controller | |
parent | 0e5b0fcef0d63b4d4c6e3c5f0125b76d8c0088aa (diff) |
Fixed settings menu entry and group deletion
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php index 89e86ddfc8c..49db6a03923 100644 --- a/settings/Controller/UsersController.php +++ b/settings/Controller/UsersController.php @@ -220,7 +220,7 @@ class UsersController extends Controller { $groupsInfo->setSorting($sortGroupsBy); list($adminGroup, $groups) = $groupsInfo->get(); - if ($isAdmin) { + if ($this->isAdmin) { $subAdmins = $this->groupManager->getSubAdmin()->getAllSubAdmins(); // New class returns IUser[] so convert back $result = []; |