From 36132acf22c9be2d49d1480312591e6f98be0935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 27 Mar 2009 08:03:46 +0000 Subject: [PATCH] --- include/lvinfo.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lvinfo.class.php b/include/lvinfo.class.php index d626af813..65d277a44 100644 --- a/include/lvinfo.class.php +++ b/include/lvinfo.class.php @@ -290,7 +290,7 @@ class lvinfo $qry = "SELECT count(*) as anzahl FROM campus.tbl_lvinfo WHERE lehrveranstaltung_id='$lehrveranstaltung_id'"; if(!is_null($sprache)) - $qry = " AND sprache='".addslashes($sprache)."'"; + $qry .= " AND sprache='".addslashes($sprache)."'"; if($result=pg_query($this->conn, $qry)) {