]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix yet another typo with the 2week catchup thing (closes #737)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 22 Jul 2013 11:21:30 +0000 (15:21 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 22 Jul 2013 11:21:30 +0000 (15:21 +0400)
include/functions.php

index 238c017c5a6eff33095f7781edc1a0f2673af854..ef5905fe2e118442e2427857ff8cd7da6853df18 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 {