From 0616236e00d0f788756e62519834f23154c124ee Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Thu, 18 Dec 2025 12:48:08 +0100 Subject: [PATCH] =?UTF-8?q?bugfix:=20ZGV=20=C3=9Cbernahme=20bei=20Interess?= =?UTF-8?q?entenanlage,=20bestehende=20ZGVs=20die=20null=20sind=20ausfilte?= =?UTF-8?q?rn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/libraries/PrestudentLib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/libraries/PrestudentLib.php b/application/libraries/PrestudentLib.php index 28879fb47..561b19fd4 100644 --- a/application/libraries/PrestudentLib.php +++ b/application/libraries/PrestudentLib.php @@ -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;