From 1d6cd91074b40e7ffdcea0df8cf9fc01499cd85e Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Thu, 25 Apr 2019 16:20:46 +0200 Subject: [PATCH] CodestyleFix --- vilesci/stammdaten/reihungstestverwaltung.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vilesci/stammdaten/reihungstestverwaltung.php b/vilesci/stammdaten/reihungstestverwaltung.php index ce29b583a..c05a18b49 100644 --- a/vilesci/stammdaten/reihungstestverwaltung.php +++ b/vilesci/stammdaten/reihungstestverwaltung.php @@ -2594,9 +2594,11 @@ if($reihungstest_id!='') JOIN public.tbl_person USING (person_id) JOIN public.tbl_prestudent ON (tbl_rt_person.person_id=tbl_prestudent.person_id) WHERE - rt_id = ".$db->db_add_param($reihungstest_id, FHC_INTEGER); - - $qry .= " AND tbl_rt_person.studienplan_id IN(SELECT studienplan_id FROM public.tbl_prestudentstatus where prestudent_id=tbl_prestudent.prestudent_id) + rt_id = ".$db->db_add_param($reihungstest_id, FHC_INTEGER)." + AND tbl_rt_person.studienplan_id IN ( + SELECT studienplan_id + FROM public.tbl_prestudentstatus + WHERE prestudent_id=tbl_prestudent.prestudent_id) ORDER BY ort_kurzbz NULLS FIRST,nachname,vorname"; $mailto = '';