mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch 'ticket/11355' into develop-olympus
* ticket/11355: [ticket/11355] Referred proper variable when validating selection. [ticket/11355] Wrong error message when no user is selected.
This commit is contained in:
commit
65118218c7
1 changed files with 5 additions and 1 deletions
|
@ -179,6 +179,10 @@ class acp_groups
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'deleteusers':
|
case 'deleteusers':
|
||||||
|
if (empty($mark_ary))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['NO_USERS'] . adm_back_link($this->u_action . '&action=list&g=' . $group_id), E_USER_WARNING);
|
||||||
|
}
|
||||||
case 'delete':
|
case 'delete':
|
||||||
if (!$group_id)
|
if (!$group_id)
|
||||||
{
|
{
|
||||||
|
@ -795,4 +799,4 @@ class acp_groups
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue