From 7b57ecdf2e6867a166db741b6a60b5a670dbdef9 Mon Sep 17 00:00:00 2001 From: frederik Date: Mon, 29 Sep 2025 18:43:14 +0200 Subject: [PATCH] fix: restore creating of results object which was accidentally removed --- scripts/play.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/play.php b/scripts/play.php index 18635eb..6aa3d54 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