summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-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";