From 31edeaf6f53875824bbd310c917b2c80f463e789 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 1 Aug 2024 13:58:41 +0100 Subject: [PATCH] Fixed 'Last Modified' checking correctly --- www/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/search.php b/www/search.php index 91b0488a..66910763 100644 --- a/www/search.php +++ b/www/search.php @@ -162,7 +162,7 @@ echo ' ', format_date(strtotime($row['ts1'])), "\n"; // Last Modified - $ts2 = strtotime($row['ts2'] ?? date('Y-m-d H:i:s')); + $ts2 = $row['ts2'] ? strtotime($row['ts2']) : false; echo ' ' , ($ts2 ? format_date($ts2) : 'Not modified') , "\n"; // Package