mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
27437df1e1
commit
6f2af78020
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue