|
From: Paul S. O. <ps...@us...> - 2002-01-25 02:41:13
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv18058
Modified Files:
groupcp.php
Log Message:
Fourth attempt at this ... stupid CVS, remove global $mode requirement
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** groupcp.php 2002/01/10 00:15:13 1.37
--- groupcp.php 2002/01/25 02:41:09 1.38
***************
*** 43,46 ****
--- 43,56 ----
}
+ 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;
|