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

main
Igor Scheller 5 years ago
parent 3ce3129b6e
commit 100602437f

@ -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'])
) )
) { ) {

Loading…
Cancel
Save