aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/groupcp.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/groupcp.php b/phpBB/groupcp.php
index ab1438dfd6..d53f6034c3 100644
--- a/phpBB/groupcp.php
+++ b/phpBB/groupcp.php
@@ -42,6 +42,16 @@ else
$group_id = "";
}
+if( isset($HTTP_POST_VARS['mode']) || isset($HTTP_GET_VARS['mode']) )
+{
+ $mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
+}
+else
+{
+ $mode = "";
+}
+
+
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : 0;
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : 0;