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:
57b3a7a
)
MDL-7323 AICC Import does not handle Core_Vendor - applied patch from Keith Starling...
author
piers
<piers>
Wed, 23 Jul 2008 01:32:12 +0000
(
01:32
+0000)
committer
piers
<piers>
Wed, 23 Jul 2008 01:32:12 +0000
(
01:32
+0000)
mod/scorm/datamodels/aicclib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/scorm/datamodels/aicclib.php
b/mod/scorm/datamodels/aicclib.php
index
08878c6
..
3107ed0
100644
(file)
--- a/
mod/scorm/datamodels/aicclib.php
+++ b/
mod/scorm/datamodels/aicclib.php
@@
-282,6
+282,11
@@
function scorm_parse_aicc($pkgdir,$scormid) {
$scodata->value = $element->mastery_score;
$dataid = $DB->insert_record('scorm_scoes_data',$scodata);
}
+ if (isset($element->core_vendor)) {
+ $scodata->name = 'datafromlms';
+ $scodata->value = eregi_replace('<cr>', "\r\n", $element->core_vendor);
+ $dataid = insert_record('scorm_scoes_data',$scodata);
+ }
}
if ($launch==0) {
$launch = $id;