From dbfcd467f5bdca7f5ecf0575919d651186ec6046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 3 Nov 2008 10:30:46 +0000 Subject: [PATCH] --- include/tw/cis_menu_lv.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/tw/cis_menu_lv.inc.php b/include/tw/cis_menu_lv.inc.php index 838483dd2..4e6c5f1eb 100644 --- a/include/tw/cis_menu_lv.inc.php +++ b/include/tw/cis_menu_lv.inc.php @@ -401,6 +401,8 @@ } } + if(MOODLE) + { //wenn bereits eine Kreuzerlliste existiert, dann den Moodle link nicht anzeigen $qry = "SELECT * FROM campus.tbl_uebung WHERE lehreinheit_id IN(SELECT lehreinheit_id FROM lehre.tbl_lehreinheit @@ -417,7 +419,9 @@ $mdlcourse->getAll($lvid, $angezeigtes_stsem); if(count($mdlcourse->result)>0) $showmoodle=true; - + } + else + $showmoodle=false; if($showmoodle) { $link = "moodle_choice.php?lvid=$lvid&stsem=$angezeigtes_stsem";