From bb7922dd3a7f5dfa6771a1cdeecf5ce9419bf840 Mon Sep 17 00:00:00 2001 From: Cris Date: Mon, 13 Dec 2021 11:40:32 +0100 Subject: [PATCH] Adapted to check only for future verplante LVs Only if LVs are assigend in the future, the lector should be informed and initially blocked to change their Zeitwunsch. For past LVs it is not relevant anymore. --- cis/private/profile/zeitwunsch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cis/private/profile/zeitwunsch.php b/cis/private/profile/zeitwunsch.php index 1596fd582..2c2a7bce1 100644 --- a/cis/private/profile/zeitwunsch.php +++ b/cis/private/profile/zeitwunsch.php @@ -346,7 +346,7 @@ function updateZWG($uid, $zwg_id, $bis) function checkIsVerplant($uid, $studiensemester_kurzbz) { $lstd = new Lehrstunde(); - if (!$lstd->getStundenplanData('stundenplandev', null, $studiensemester_kurzbz, null, $uid)) + if (!$lstd->getStundenplanData('stundenplandev', null, $studiensemester_kurzbz, null, $uid, null, true)) { die($lstd->errormsg); }