Skip to content

Commit

Permalink
Merge pull request #241 from luniki/fix-240
Browse files Browse the repository at this point in the history
Fix import of a courseware after changes to filesystem API in Stud.IP v4.6
  • Loading branch information
rlucke authored Mar 19, 2021
2 parents 4e86e5f + b367de7 commit 1409921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/block_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public function store_changes_vue_action()
$remote_file = FileRef::find($file['id']);

if ($remote_file != null) {
$file = FileManager::copyFileRef($remote_file, $import_folder, \User::findCurrent());
$file = FileManager::copyFile($remote_file->getFiletype(), $import_folder, \User::findCurrent());

}
}
Expand Down

0 comments on commit 1409921

Please sign in to comment.