diff --git a/www/wot.php b/www/wot.php index 67bc15b..560cbf1 100644 --- a/www/wot.php +++ b/www/wot.php @@ -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)