From 498678e726f5c9064cd5f5cf3afabf30def48591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 23 Aug 2019 13:08:18 +0200 Subject: [PATCH] =?UTF-8?q?Stipendienstelle=20Schnittstelle=20angepasst=20?= =?UTF-8?q?um=20Fehler=20zu=20vermeiden=20wenn=20Personen=20abgefragt=20we?= =?UTF-8?q?rden=20die=20im=20gew=C3=A4hlten=20Semester=20keinen=20Status?= =?UTF-8?q?=20haben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soap/stip.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/soap/stip.class.php b/soap/stip.class.php index adabc8582..434444cc9 100644 --- a/soap/stip.class.php +++ b/soap/stip.class.php @@ -399,7 +399,7 @@ class stip extends basis_db public.tbl_prestudentstatus WHERE prestudent_id=".$this->db_add_param($prestudent_id, FHC_INTEGER)." - AND studiensemester_kurzbz=".$this->db_add_param($psem)."'"; + AND studiensemester_kurzbz=".$this->db_add_param($psem); if(!is_null($bisdatum)) $qrystatus.=" AND (tbl_prestudentstatus.datum<".$this->db_add_param($bisdatum).") "; $qrystatus.=" ORDER BY datum desc, insertamum desc, ext_id desc;"; @@ -445,6 +445,8 @@ class stip extends basis_db */ public function getSemester($prestudent_id, $studiensemester_kurzbz, $bisdatum=null) { + $sem = ''; + $qrystatus=" SELECT *