From 110f05b91cd0df0d8f3d8037c71e185df18650e8 Mon Sep 17 00:00:00 2001 From: Cris Date: Wed, 3 Feb 2021 15:43:14 +0100 Subject: [PATCH] Corrected empfehlung_datum Now the query uses the correct status kurzbz 'inProgressDP'. This is because the date the lector sends the recommendation (=empfehlung_datum), the status is changed to inProgressDP and the insertamum is set there. Signed-off-by: cris-technikum --- application/libraries/AnrechnungLib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/AnrechnungLib.php b/application/libraries/AnrechnungLib.php index c2f7d5f4a..48a693211 100644 --- a/application/libraries/AnrechnungLib.php +++ b/application/libraries/AnrechnungLib.php @@ -231,7 +231,7 @@ class AnrechnungLib // Get last lector and date, where recommendation was given $result = $this->ci->AnrechnungModel->getLastAnrechnungstatus( $anrechnung_id, - self::ANRECHNUNGSTATUS_PROGRESSED_BY_LEKTOR + self::ANRECHNUNGSTATUS_PROGRESSED_BY_STGL // when lector sends recommendation, status is set to in progress STGL again ); if ($result = getData($result)[0]) {