Improved register_globals handling
This commit is contained in:
parent
15ffc7821a
commit
86af1fce0c
1 changed files with 8 additions and 5 deletions
|
@ -17,11 +17,14 @@
|
||||||
*/ ?>
|
*/ ?>
|
||||||
<?
|
<?
|
||||||
|
|
||||||
$id = intval($_REQUEST['id']);
|
$id = 0; if(array_key_exists("id",$_REQUEST)) $id=intval($_REQUEST['id']);
|
||||||
|
$oldid = 0; if(array_key_exists("oldid",$_REQUEST)) $oldid=intval($_REQUEST['oldid']);
|
||||||
|
$process = ""; if(array_key_exists("process",$_REQUEST)) $process=$_REQUEST['process'];
|
||||||
|
|
||||||
if($id == 2)
|
if($id == 2)
|
||||||
$id = 0;
|
$id = 0;
|
||||||
$oldid = intval($_REQUEST['oldid']);
|
|
||||||
$process = $_REQUEST['process'];
|
$_SESSION['_config']['errmsg'] = "";
|
||||||
|
|
||||||
if($id == 17 || $id == 20)
|
if($id == 17 || $id == 20)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue