We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6062e commit 60707a8Copy full SHA for 60707a8
lib/Index.php
@@ -166,7 +166,7 @@ public static function cleanUpSnapshots(): void
166
) as t2 ON t1.id = t2.id
167
WHERE
168
url_id = :url_id
169
- AND createdate < DATE_SUB(:datetime, INTERVAL :interval SECOND)
+ AND createdate < DATE_SUB(:datetime, INTERVAL :interval MINUTE)
170
', [
171
'url_id' => $URL->getId(),
172
'datetime' => date(rex_sql::FORMAT_DATETIME),
0 commit comments