From 81731791d4ec641ddf45e5723643fd2dbae2353b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 20 Apr 2011 15:40:10 +0400 Subject: [PATCH] get_linked_feeds: fix mysql date syntax --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 4980140c..7fd9df78 100644 --- a/functions.php +++ b/functions.php @@ -7373,7 +7373,7 @@ if (DB_TYPE == "pgsql") { $date_qpart = "last_connected < NOW() - INTERVAL '6 hours'"; } else { - $date_qpart = "last_connected < DATE_SUB(NOW(), INTERVAL 6 HOUR"; + $date_qpart = "last_connected < DATE_SUB(NOW(), INTERVAL 6 HOUR)"; } $result = db_query($link, "SELECT id, access_key, access_url FROM ttrss_linked_instances -- 2.39.5