aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-02-25 19:01:35 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-02-25 19:01:35 +0100
commit12cc64e715cd87af0195e0abc0974eaab459107d (patch)
tree1461efdba8d9749f95e979797a19c2204e008424
parent46b75f4cf925ee0da852beeb6c4932e4fcb37992 (diff)
downloadforums-12cc64e715cd87af0195e0abc0974eaab459107d.tar
forums-12cc64e715cd87af0195e0abc0974eaab459107d.tar.gz
forums-12cc64e715cd87af0195e0abc0974eaab459107d.tar.bz2
forums-12cc64e715cd87af0195e0abc0974eaab459107d.tar.xz
forums-12cc64e715cd87af0195e0abc0974eaab459107d.zip
[ticket/10411] Ensure we only get services that do exist
PHPBB3-10411
-rw-r--r--phpBB/includes/acp/acp_groups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_groups.php b/phpBB/includes/acp/acp_groups.php
index 81ae567a8c..fc31105685 100644
--- a/phpBB/includes/acp/acp_groups.php
+++ b/phpBB/includes/acp/acp_groups.php
@@ -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);