From 62309a12d098f1533d864ee24a1a80a90566bdd6 Mon Sep 17 00:00:00 2001 From: Gerald Simane Date: Thu, 21 Jan 2010 16:23:53 +0000 Subject: [PATCH] --- cis/private/profile/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cis/private/profile/index.php b/cis/private/profile/index.php index 2f63578f2..a6f5f00d2 100644 --- a/cis/private/profile/index.php +++ b/cis/private/profile/index.php @@ -111,7 +111,7 @@ } // Mail-Groups - if(!($erg_mg=$db->db_query("SELECT gruppe_kurzbz, beschreibung FROM campus.vw_persongruppe WHERE mailgrp AND uid='$uid' ORDER BY gruppe_kurzbz"))) + if(!($erg_mg=$db->db_query("SELECT gruppe_kurzbz, beschreibung FROM campus.vw_persongruppe WHERE mailgrp AND uid='$uid' ".(isset($semester)?" and semester=$semester ":'')." ORDER BY gruppe_kurzbz"))) die($db->db_last_error()); $nr_mg=$db->db_num_rows($erg_mg);