diff --git a/include/tw/cis_menu_lv.inc.php b/include/tw/cis_menu_lv.inc.php index 6906bcc0f..1d66fa1a6 100644 --- a/include/tw/cis_menu_lv.inc.php +++ b/include/tw/cis_menu_lv.inc.php @@ -241,7 +241,7 @@ function checkZeilenUmbruch() } // Digitale Anwesenheiten - if(CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN && $angemeldet + if(defined('CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN') && CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN && $angemeldet && ($rechte->isBerechtigt('extension/anw_ent_admin') || $rechte->isBerechtigt('extension/anwesenheit_lektor') || $rechte->isBerechtigt('extension/anwesenheit_student') @@ -608,4 +608,4 @@ function isDirectoryEmpty($DOC_ROOT, $kurzbz, $semester, $short_short_name, $typ } ?> - \ No newline at end of file +