From 72a76060bf83ea841bea4037e29b5bf11879a955 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Fri, 20 Apr 2018 17:29:42 +0200 Subject: Fixed settings menu entry and group deletion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- settings/Controller/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/Controller') 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 = []; -- cgit v1.2.3