summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-12-25 14:46:14 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2018-12-25 14:46:14 +0100
commit31d9efb2b89682dac5dea52cfdb7873a9c4fa642 (patch)
treec114c410c69c6f4f2be16d9707da287840923e4c /includes/pages
parentd214525e24b2c37f1e44afdd698da5564fd70ae5 (diff)
Bugfix: Edit user: Show groups list if angel has no rights
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_user.php2
1 files changed, 1 insertions, 1 deletions
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:<form action="'
. page_link_to('admin_user', ['action' => 'save_groups', 'id' => $user_id])
. '" method="post">' . "\n";