From 58975ee44a9da2c715fc84c3fe393b5bc380efe9 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 27 Aug 2008 23:09:02 +0000 Subject: [PATCH] Improved register_globals --- includes/account_stuff.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/includes/account_stuff.php b/includes/account_stuff.php index fd3a463..09aec5c 100644 --- a/includes/account_stuff.php +++ b/includes/account_stuff.php @@ -17,11 +17,12 @@ */ $id = 0; if(array_key_exists("id",$_REQUEST)) $id=intval($_REQUEST['id']); + $expand=""; function showheader($title = "CAcert.org", $title2 = "") { global $id, $PHP_SELF; - + $expand=""; $tmpid = $id; if($PHP_SELF == "/wot.php") $tmpid = $id + 500; @@ -134,7 +135,7 @@ <?=$title?> - +