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:
e43bf47
)
MDL-46805 mod_scorm: Re-fix as previous object was removed in 2.8
author
David Monllao
<davidm@moodle.com>
Thu, 2 Apr 2015 08:17:56 +0000
(16:17 +0800)
committer
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Thu, 2 Apr 2015 09:09:30 +0000
(11:09 +0200)
mod/scorm/aicc.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/scorm/aicc.php
b/mod/scorm/aicc.php
index
ce176d9
..
14bcb99
100644
(file)
--- a/
mod/scorm/aicc.php
+++ b/
mod/scorm/aicc.php
@@
-111,7
+111,8
@@
if (!empty($command)) {
$userdata->status = '';
$userdata->score_raw = '';
}
- if (!empty($cfg_scorm->aiccuserid)) {
+ $aiccuserid = get_config('scorm', 'aiccuserid');
+ if (!empty($aiccuserid)) {
$userdata->student_id = $aiccuser->id;
} else {
$userdata->student_id = $aiccuser->username;
@@
-443,4
+444,4
@@
if (empty($cfgscorm->allowaicchacp)) {
$aiccresponse = ob_get_contents();
scorm_debug_log_write("aicc", "HACP Response:\r\n$aiccresponse", $scoid);
-ob_end_flush();
\ No newline at end of file
+ob_end_flush();