Improved register_globals handling

pull/1/head
root 16 years ago
parent 4982654f2c
commit af04319a1d

@ -20,10 +20,10 @@
loadem("account");
if($_POST['date'] != "")
if(array_key_exists('date',$_POST) && $_POST['date'] != "")
$_SESSION['_config']['date'] = $_POST['date'];
if($_POST['location'] != "")
if(array_key_exists('location',$_POST) && $_POST['location'] != "")
$_SESSION['_config']['location'] = $_POST['location'];
if($oldid == 12)

Loading…
Cancel
Save