]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix 2week catchup parameter
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 24 Jun 2013 20:11:53 +0000 (00:11 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 24 Jun 2013 20:11:53 +0000 (00:11 +0400)
include/functions.php

index a6e13ecc83b23dd19c47d209de09ef4f240c08f9..355eec2cd09fd16123a6c47e136d2b42f1583f3f 100644 (file)
                                        $date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 WEEK) ";
                                }
                                break;
-                       case "2weeks":
+                       case "2week":
                                if (DB_TYPE == "pgsql") {
                                        $date_qpart = "date_entered < NOW() - INTERVAL '2 week' ";
                                } else {