mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10411] Ensure we only get services that do exist
PHPBB3-10411
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user