Browse Source

Fixed PHP notice with undefined variable.

MOODLE_23_STABLE
Artem Andreev 14 years ago
parent
commit
5f3010df38
  1. 1
      locallib.php

1
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);

Loading…
Cancel
Save