]> git.wh0rd.org Git - tt-rss.git/commitdiff
filter to sql: fix missing bracket
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 4 May 2011 08:17:15 +0000 (12:17 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 4 May 2011 08:17:15 +0000 (12:17 +0400)
functions.php

index 32c642a19c4e17c17be4f9e604617a2b6b4347ee..c31ee3f630df7c3622e245d3eda2f05661e98242 100644 (file)
                        if (DB_TYPE == "pgsql") {
                                $query = " ($query) AND ttrss_entries.date_entered > NOW() - INTERVAL '14 days'";
                        } else {
-                               $query = " ($query) AND ttrss_entries.date_entered > DATE_SUB(NOW(), INTERVAL 14 DAY";
+                               $query = " ($query) AND ttrss_entries.date_entered > DATE_SUB(NOW(), INTERVAL 14 DAY)";
                        }
                        $query .= " AND ";
                }