diff options
Diffstat (limited to 'settings/Controller/UsersController.php')
-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 = []; |