diff options
author | Andrew Dolgov <[email protected]> | 2011-04-20 15:40:10 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-20 15:40:10 +0400 |
commit | 81731791d4ec641ddf45e5723643fd2dbae2353b (patch) | |
tree | 59263544841cafacc5a21845e94943143d34b992 | |
parent | 414d0d1f46d2be49e95cf668efec906fb989d1f2 (diff) |
get_linked_feeds: fix mysql date syntax
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 4980140c1..7fd9df780 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 |