User admin: Allow setting new groups if user has none assigned
This commit is contained in:
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…
Reference in New Issue