mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/11355] Referred proper variable when validating selection.
Earlier PR was referring wrong variable $name_ary. Changed it to $mark_ary which actually contains selected user ids. PHPBB3-11355
This commit is contained in:
parent
f8e184c54e
commit
ab530a999e
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class acp_groups
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'deleteusers':
|
case 'deleteusers':
|
||||||
if (!$name_ary)
|
if (empty($mark_ary))
|
||||||
{
|
{
|
||||||
trigger_error($user->lang['NO_USERS'] . adm_back_link($this->u_action . '&action=list&g=' . $group_id), E_USER_WARNING);
|
trigger_error($user->lang['NO_USERS'] . adm_back_link($this->u_action . '&action=list&g=' . $group_id), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue