From: Andrew Dolgov Date: Wed, 20 Apr 2011 11:40:10 +0000 (+0400) Subject: get_linked_feeds: fix mysql date syntax X-Git-Tag: 1.5.3~15^2~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=81731791d4ec641ddf45e5723643fd2dbae2353b;p=tt-rss.git get_linked_feeds: fix mysql date syntax --- 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