Skip to content

Commit 37f3690

Browse files
author
Ron Lucke
authored
Update MigrateCoursewareCommand.php
fix migration of iav source
1 parent 9d9c424 commit 37f3690

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

command/MigrateCoursewareCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ private function createBlock($block, $container, $user, $cid, $courseware, $outp
671671
'tests' => json_decode($block['fields']['iav_tests']),
672672
'file_id' => $source->file_id,
673673
'file_name' => $source->file_name,
674-
'external_source' => $source->external,
674+
'source' => $source->external ? 'web' : 'studip',
675675
'range_inactive' => $block['fields']['range_inactive']
676676
);
677677
$block_type = 'interactive-video';

0 commit comments

Comments
 (0)