From 95e885989604b877c8d8e454facc434b978373eb Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Thu, 17 Aug 2023 09:50:01 +0200 Subject: [PATCH] Bug Hotfix --- application/libraries/AntragLib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/libraries/AntragLib.php b/application/libraries/AntragLib.php index 97617231d..f9e54b757 100644 --- a/application/libraries/AntragLib.php +++ b/application/libraries/AntragLib.php @@ -1255,13 +1255,14 @@ class AntragLib $where = [ 'prestudent_id' => $prestudent_id ]; + $types = null; if ($typ) { if (is_array($typ)) - $this->_ci->StudierendenantragModel->db->where_in('typ', $typ); + $types = $typ; else $where['typ'] = $typ; } - $result = $this->_ci->StudierendenantragModel->loadWithStatusWhere($where); + $result = $this->_ci->StudierendenantragModel->loadWithStatusWhere($where, $types); if (isError($result)) return $result;