MDL-30592 / MDL-27183 quiz statistics: fix merge problem.

These two fixes changes the same file in different ways, causing breakage.
This commit is contained in:
Tim Hunt
2011-12-15 11:23:08 +00:00
parent f2b2978c26
commit a529dd84bf
+1 -1
View File
@@ -85,7 +85,7 @@ class quiz_statistics_report extends quiz_default_report {
}
// Find out current groups mode
$currentgroup = $this->get_current_group($cm, $course, $context);
$currentgroup = $this->get_current_group($cm, $course, $this->context);
$nostudentsingroup = false; // True if a group is selected and there is no one in it.
if (empty($currentgroup)) {
$currentgroup = 0;