User admin: Allow setting new groups if user has none assigned

This commit is contained in:
Igor Scheller 2019-08-24 11:58:19 +02:00
parent 3ce3129b6e
commit 100602437f
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ function admin_user()
if ( if (
count($my_highest_group) > 0 count($my_highest_group) > 0
&& ( && (
count($his_highest_group) == 0 empty($his_highest_group)
|| ($my_highest_group['group_id'] <= $his_highest_group['group_id']) || ($my_highest_group['group_id'] <= $his_highest_group['group_id'])
) )
) { ) {