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);