summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-20 15:40:10 +0400
committerAndrew Dolgov <[email protected]>2011-04-20 15:40:10 +0400
commit81731791d4ec641ddf45e5723643fd2dbae2353b (patch)
tree59263544841cafacc5a21845e94943143d34b992 /functions.php
parent414d0d1f46d2be49e95cf668efec906fb989d1f2 (diff)
get_linked_feeds: fix mysql date syntax
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
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