Skip to content
Snippets Groups Projects
Commit a4247fc1 authored by Till Glöggler's avatar Till Glöggler
Browse files

fix check for studygroups (again thanks to elmar for this contribution)

parent beb442d8
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ class AvailSchedule extends StudipPlugin implements SystemPlugin
$sem_type = $_SESSION['SessSemName']['art_num'];
if (isset($sem_type) && !$GLOBALS['SEM_CLASS'][$GLOBALS['SEM_TYPE'][$sem_type]]->studygroup_mode &&
if (isset($sem_type) && !$GLOBALS['SEM_CLASS'][$GLOBALS['SEM_TYPE'][$sem_type]['class']]['studygroup_mode'] &&
Navigation::hasItem('/course/members') && $GLOBALS['perm']->have_studip_perm('tutor', $_SESSION['SessSemName'][1])) {
$navigation = Navigation::getItem('/course/members');
$navigation->addSubNavigation('conflicts', new Navigation(_('Verfgbarkeit'), PluginEngine::getLink('availschedule/show')));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment