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:21:56 +00:00
parent 73c0d46416
commit 490668bbe1

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;