From 7b6d322d21ac4156596d3f6d4dfdcc18623e160d Mon Sep 17 00:00:00 2001 From: tomamplius Date: Tue, 20 Aug 2019 11:29:35 +0200 Subject: [PATCH] Update databox.php --- lib/classes/cache/databox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/cache/databox.php b/lib/classes/cache/databox.php index 75460fa962..3687deb211 100644 --- a/lib/classes/cache/databox.php +++ b/lib/classes/cache/databox.php @@ -121,9 +121,9 @@ class cache_databox $conn = $app->getApplicationBox()->get_connection(); - $sql = 'UPDATE sitepreff SET memcached_update = :date'; + $sql = 'UPDATE sitepreff SET memcached_update = current_timestamp()'; $stmt = $conn->prepare($sql); - $stmt->execute([':date' => $now]); + $stmt->execute(); $stmt->closeCursor(); self::$refreshing = false;