From c93a4d2fb53aaee02ab051b95977f60e4b6c35f2 Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Thu, 23 Nov 2023 15:51:35 +0100 Subject: [PATCH] Studstatus: Wiederholer Reminder 1 wird vermutlich mit einem Tag delay versandt --- application/models/education/Pruefung_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/education/Pruefung_model.php b/application/models/education/Pruefung_model.php index ef7cfc967..e1d668293 100644 --- a/application/models/education/Pruefung_model.php +++ b/application/models/education/Pruefung_model.php @@ -222,9 +222,9 @@ class Pruefung_model extends DB_Model $this->withDetailsForStudierendenAntrag(); if ($maxDate) - $this->db->where("p.datum < ", $maxDate->format('c')); + $this->db->where("p.datum <= ", $maxDate->format('Y-m-d')); if ($minDate) - $this->db->where("p.datum > ", $minDate->format('c')); + $this->db->where("p.datum > ", $minDate->format('Y-m-d')); $this->db->where("b.aktiv", true);