Bug: Studierenden-Ansicht: Abmeldung bearbeiten bei mehrfachen Abmeldungen

This commit is contained in:
cgfhtw
2023-07-13 14:44:51 +02:00
parent c8fc6c747f
commit 9d0801676d
3 changed files with 23 additions and 8 deletions
+6 -2
View File
@@ -1204,8 +1204,12 @@ class AntragLib
$where = [
'prestudent_id' => $prestudent_id
];
if ($typ)
$where['typ'] = $typ;
if ($typ) {
if (is_array($typ))
$this->_ci->StudierendenantragModel->db->where_in('typ', $typ);
else
$where['typ'] = $typ;
}
$result = $this->_ci->StudierendenantragModel->loadWithStatusWhere($where);
if (isError($result))
return $result;