From 470d98940ae51b0125d9f04975085f44383a0f99 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Sat, 18 Jul 2026 14:30:54 +0200 Subject: [PATCH] debugging --- content/search-results.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/search-results.php b/content/search-results.php index 1a7fd0b..d73b636 100644 --- a/content/search-results.php +++ b/content/search-results.php @@ -2,7 +2,9 @@ if (session_status() === PHP_SESSION_NONE) { session_start(); } -error_log("DEBUG search-results.php: search_results count = " . count($_SESSION["search_results"] ?? []) . ", query = " . ($_SESSION["search_query"] ?? "LEER")); +$log_msg = "DEBUG search-results.php: search_results count = " . count($_SESSION["search_results"] ?? []) . ", query = " . ($_SESSION["search_query"] ?? "LEER"); +echo ""; + $all_results = $_SESSION["search_results"] ?? []; $query = $_SESSION["search_query"] ?? ""; $totalResultsCount = count($all_results);