mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Possible fix for MYSQL Date not handling 0000-00-00
This commit is contained in:
@@ -89,6 +89,6 @@ if ($_GET['canned_date'] == "custom" && !empty($_GET['dtf'])) {
|
||||
$dtf = date('Y-m-d', strtotime("first day of january last year"));
|
||||
$dtt = date('Y-m-d', strtotime("last day of december last year"));
|
||||
} else {
|
||||
$dtf = "0000-00-00";
|
||||
$dtt = "9999-00-00";
|
||||
$dtf = "NULL";
|
||||
$dtt = date('Y-m-d');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user