From be8a98bf59f73803ce6ba5561f35fb5445656c27 Mon Sep 17 00:00:00 2001 From: frederik Date: Mon, 4 Mar 2024 18:29:12 +0100 Subject: [PATCH] fix: do not unset the session --- scripts/play.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/play.php b/scripts/play.php index 062e326..6239a3b 100644 --- a/scripts/play.php +++ b/scripts/play.php @@ -217,8 +217,8 @@ if(isset($_GET['bydate'])){ $result3 = $statement3->execute(); $view = "species"; } else { - session_start(); - session_unset(); + unset($_SESSION['species']); + unset($_SESSION['date']); $view = "choose"; } ?>