Removed db->escape when using getLeitung/getAssistance method

...it throws an error since query was adapted to accept array and anyway, is
not necessary anymore.
This commit is contained in:
Cris
2022-02-21 17:19:02 +01:00
parent b1f171aee2
commit 9abc018e08
@@ -480,7 +480,7 @@ class Studiengang_model extends DB_Model
funktion_kurzbz = \'Leitung\'
AND ( datum_von <= NOW() OR datum_von IS NULL )
AND ( datum_bis >= NOW() OR datum_bis IS NULL )
AND studiengang_kz IN (' . $this->db->escape($studiengang_kz). ')';
AND studiengang_kz IN (' . $studiengang_kz. ')';
;
}
@@ -519,7 +519,7 @@ class Studiengang_model extends DB_Model
funktion_kurzbz = \'ass\'
AND ( datum_von <= NOW() OR datum_von IS NULL )
AND ( datum_bis >= NOW() OR datum_bis IS NULL )
AND studiengang_kz IN (' . $this->db->escape($studiengang_kz). ')'
AND studiengang_kz IN (' . $studiengang_kz. ')'
;
}