fix 2week catchup parameter

This commit is contained in:
Andrew Dolgov 2013-06-25 00:11:53 +04:00
parent 1ed69dc5f5
commit b627f574f8
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@
$date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 WEEK) "; $date_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 WEEK) ";
} }
break; break;
case "2weeks": case "2week":
if (DB_TYPE == "pgsql") { if (DB_TYPE == "pgsql") {
$date_qpart = "date_entered < NOW() - INTERVAL '2 week' "; $date_qpart = "date_entered < NOW() - INTERVAL '2 week' ";
} else { } else {