From 31d9efb2b89682dac5dea52cfdb7873a9c4fa642 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 25 Dec 2018 14:46:14 +0100 Subject: Bugfix: Edit user: Show groups list if angel has no rights --- includes/pages/admin_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php index 4e0fd24b..72caa48f 100644 --- a/includes/pages/admin_user.php +++ b/includes/pages/admin_user.php @@ -132,7 +132,7 @@ function admin_user() $his_highest_group = $his_highest_group['group_id']; } - if ($user_id != $user->id && $my_highest_group <= $his_highest_group) { + if ($user_id != $user->id && ($my_highest_group <= $his_highest_group || is_null($his_highest_group))) { $html .= 'Hier kannst Du die Benutzergruppen des Engels festlegen:
' . "\n"; -- cgit v1.2.3-70-g09d2