bugfix: ZGV Übernahme bei Interessentenanlage, bestehende ZGVs die null sind ausfiltern

This commit is contained in:
Harald Bamberger
2025-12-18 12:48:08 +01:00
parent 79ad8601da
commit 0616236e00
+2 -1
View File
@@ -68,7 +68,8 @@ class PrestudentLib
$this->_ci->PrestudentModel->addOrder('zgv_code', 'DESC');
$this->_ci->PrestudentModel->addLimit(1);
$result = $this->_ci->PrestudentModel->loadWhere([
'person_id' => $person_id
'person_id' => $person_id,
'zgv_code IS NOT NULL' => null
]);
if (isError($result)) return $result;