diff --git a/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php b/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php index 92b0767e..1a923b3a 100644 --- a/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php +++ b/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php @@ -106,7 +106,7 @@ WHERE ps.deleted = 0 "; if ($dateFrom != null && $dateTo != null) { $query .= " AND ( (DATE(ps.production_date) >= '$dateFrom' AND DATE(ps.production_date) <= '$dateTo') - OR ps.production_date IS NULL OR DATE(ps.production_date) = '0000-00-00 06:00:00')"; + OR ps.production_date IS NULL OR DATE(ps.production_date) = '0000-00-00 00:00:00')"; } if ($ids != null) {