Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datamodels/tincanlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function scorm_get_tincan_manifest($blocks, $scoes) {
}
break;
case 'ACTIVITY':
if (empty($course_id) && isset($block['attrs']['TYPE']) && $block['attrs']['TYPE'] == 'course') {
if (empty($course_id) && isset($block['attrs']['TYPE']) && strpos($block['attrs']['TYPE'],'course') > 0) {

$org = $parent = array_pop($parents);
array_push($parents, $parent);
Expand Down
Loading