mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
Fourth attempt at this ... stupid CVS, remove global $mode requirement
git-svn-id: file:///svn/phpbb/trunk@1949 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -42,6 +42,16 @@ else
|
|||||||
$group_id = "";
|
$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;
|
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : 0;
|
||||||
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : 0;
|
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user