From 4320da694c0c0cae53ed4a194b2138679a21f7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 28 Jul 2008 15:42:25 +0000 Subject: [PATCH] --- content/pdfExport.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/pdfExport.php b/content/pdfExport.php index f78823ab8..262fe285c 100644 --- a/content/pdfExport.php +++ b/content/pdfExport.php @@ -81,7 +81,10 @@ else else if(isset($_GET['uid'])) { - $uids = explode(';',$_GET['uid']); + if(strstr(';',$_GET['uid'])) + $uids = explode(';',$_GET['uid']); + else + $uids = $_GET['uid']; //var_dump($uids); $qry = "SELECT student_uid, studiengang_kz FROM public.tbl_student WHERE student_uid='".$uids[1]."'"; if($result_std = pg_query($conn, $qry))