Explorar o código

fix 2week catchup parameter

Andrew Dolgov %!s(int64=11) %!d(string=hai) anos
pai
achega
b627f574f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/functions.php

+ 1 - 1
include/functions.php

@@ -1059,7 +1059,7 @@
 					$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 {