diff --git a/locallib.php b/locallib.php index 1c0495a..63b4e25 100644 --- a/locallib.php +++ b/locallib.php @@ -396,6 +396,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);