From 9abc018e086c44a8369223ebbd5242b9598db87f Mon Sep 17 00:00:00 2001 From: Cris Date: Mon, 21 Feb 2022 17:19:02 +0100 Subject: [PATCH] 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. --- application/models/organisation/Studiengang_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/organisation/Studiengang_model.php b/application/models/organisation/Studiengang_model.php index a27d07f8b..299b24d86 100644 --- a/application/models/organisation/Studiengang_model.php +++ b/application/models/organisation/Studiengang_model.php @@ -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. ')' ; }