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.
This commit is contained in:
Cris
2021-12-13 11:40:32 +01:00
parent cc770e6324
commit bb7922dd3a
+1 -1
View File
@@ -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);
}