From a9dc5f6f654a42b2fa2d836adfd3b370856ecad9 Mon Sep 17 00:00:00 2001 From: Junior Date: Tue, 6 May 2025 19:30:25 -0400 Subject: [PATCH] Fix reference to variables instead of scalar 0 when session is expired --- scripts/parsebooks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/parsebooks.php b/scripts/parsebooks.php index dc47699..0c256e8 100644 --- a/scripts/parsebooks.php +++ b/scripts/parsebooks.php @@ -20,9 +20,9 @@ if ( !$cli ) { if ( !$validated ) { $data["validated"] = false; $data["admin"] = false; - $data["new"] = $count_new; - $data["purged"] = $count_purged; - $data["total"] = $count_total; + $data["new"] = 0; + $data["purged"] = 0; + $data["total"] = 0; sendResponse($data); } }