Permalink
Browse files

Merge branch 'm20_MDL-26063_SCORM_grouping' of git://github.com/danma…

…rsden/moodle
  • Loading branch information...
2 parents 88c3ba8 + c371e39 commit 4fd25ab95cfbf68c6d6586a13e3f18ce4222780c Sam Hemelryk committed Jan 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/report.php
View
@@ -173,7 +173,7 @@
}
} else {
// all users who can attempt scoes and who are in the currently selected group
- if (!$groupstudents = get_users_by_capability($context, 'mod/scorm:savetrack','','','','',$currentgroup,'',false)){
+ if (!$groupstudents = get_users_by_capability($contextmodule, 'mod/scorm:savetrack','','','','',$currentgroup,'',false)){
echo $OUTPUT->notification(get_string('nostudentsingroup'));
$nostudents = true;
$groupstudents = array();

0 comments on commit 4fd25ab

Please sign in to comment.