Bug fix - if groupmode is forced then group icons are not even displayed
This commit is contained in:
+2
-1
@@ -776,8 +776,9 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
|
||||
static $strmovehere;
|
||||
static $strmovefull;
|
||||
|
||||
|
||||
if (!isset($isteacher)) {
|
||||
$groupbuttons = $course->groupmode and !$course->groupmodeforce;
|
||||
$groupbuttons = ($course->groupmode and !$course->groupmodeforce);
|
||||
$isteacher = isteacher($course->id);
|
||||
$isediting = isediting($course->id);
|
||||
$ismoving = ismoving($course->id);
|
||||
|
||||
Reference in New Issue
Block a user