From 6f2af78020aee57cfd5b0ba9d9c252c10e156e75 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 25 Jan 2002 02:41:09 +0000 Subject: Fourth attempt at this ... stupid CVS, remove global $mode requirement git-svn-id: file:///svn/phpbb/trunk@1949 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/groupcp.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'phpBB/groupcp.php') 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; -- cgit v1.2.1