A live bird collage card for your Home Assistant dashboard.
fix: restore creating of results object which was accidentally removed
frederik7b57ecdf2e68
diff --git a/scripts/play.php b/scripts/play.phpindex 18635ebd..6aa3d547 100644--- a/scripts/play.php+++ b/scripts/play.php@@ -532,6 +532,7 @@ if ($fp) {$name = htmlspecialchars_decode($_GET['species'], ENT_QUOTES);$limit = isset($_GET['limit']) ? (int)$_GET['limit'] : 40;+$result2 = fetch_all_detections($name, $_GET['sort'], $_SESSION['date']);$results=$result2->fetchArray(SQLITE3_ASSOC);$com_name = $results['Com_Name'];$result2->reset(); // reset the pointer to the beginning of the result set