From d538101618b61f745472ae1c76473db443975a8f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 31 Mar 2013 12:45:19 +0400 Subject: [PATCH] catchup_feed: fix 1day on mysql --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index f2dd87bd3..ea69b5f38 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1018,7 +1018,7 @@ if (DB_TYPE == "pgsql") { $date_qpart = "date_entered < NOW() - INTERVAL '1 day' "; } else { - $date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 WEEK) "; + $date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 DAY) "; } break; case "1week":