1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02: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:
erangamapa
2013-02-21 22:47:42 +05:30
committed by Nils Adermann
parent f8e184c54e
commit ab530a999e

View File

@@ -179,7 +179,7 @@ class acp_groups
break;
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);
}