mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10411] Ensure we only get services that do exist
PHPBB3-10411
This commit is contained in:
parent
46b75f4cf9
commit
12cc64e715
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ class acp_groups
|
|||
// Invalid mode
|
||||
trigger_error($user->lang['NO_MODE'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
else if ($field)
|
||||
else if ($field && in_array($field, array('legend', 'teampage')))
|
||||
{
|
||||
|
||||
$group_position = $phpbb_container->get('groupposition.' . $field);
|
||||
|
|
Loading…
Add table
Reference in a new issue