diff --git a/locallib.php b/locallib.php index 1f42c6c..f80a08c 100644 --- a/locallib.php +++ b/locallib.php @@ -390,6 +390,7 @@ function print_filter_controls($url, $id, $studentid=0, $sort=NULL, $printselect $link = $url . "?id=$id" . ($sort ? "&sort=$sort" : "") . ($studentid ? "&student=$studentid" : ""); $currentgroup = -1; + $sessiontypeselector = ''; if ($printselector === GROUP_SELECTOR) { $groupmode = groups_get_activity_groupmode($cm); $currentgroup = groups_get_activity_group($cm, true);