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;