Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e0390
)
SCORM MDL-26063 incorrect context used - thanks to Matteo Scaramuccia for fix
author
Dan Marsden
<dan@catalyst.net.nz>
Wed, 19 Jan 2011 21:40:22 +0000
(10:40 +1300)
committer
Dan Marsden
<dan@catalyst.net.nz>
Wed, 19 Jan 2011 21:40:22 +0000
(10:40 +1300)
mod/scorm/report.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/scorm/report.php
b/mod/scorm/report.php
index
7d30bba
..
9648e60
100755
(executable)
--- a/
mod/scorm/report.php
+++ b/
mod/scorm/report.php
@@
-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($context
module
, 'mod/scorm:savetrack','','','','',$currentgroup,'',false)){
echo $OUTPUT->notification(get_string('nostudentsingroup'));
$nostudents = true;
$groupstudents = array();