Skip to content

A live bird collage card for your Home Assistant dashboard.

fix: do not unset the session

frederikbe8a98bf59f7
diff --git a/scripts/play.php b/scripts/play.php
index 062e3269..6239a3b0 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";
}
?>