MDL-39296 scorm reports: Fixing incorrect variable name

This commit is contained in:
Ankit Agarwal
2013-04-24 13:43:35 +08:00
parent 2a4eeac067
commit ca61ed1bbe
+1 -1
View File
@@ -52,7 +52,7 @@ if (empty($currentgroup)) {
} else {
// All users who can attempt scoes and who are in the currently selected group.
$groupstudents = get_users_by_capability($contextmodule, 'mod/scorm:savetrack', 'u.id', '', '', '', $currentgroup, '', false);
$allowedlist = empty($students) ? array() : array_keys($groupstudents);
$allowedlist = empty($groupstudents) ? array() : array_keys($groupstudents);
}
$params = array();