Skip to content

Commit 9c39af6

Browse files
committed
Preserve the flag to use HTML in media captions
See https://www.woltlab.com/community/thread/315886/
1 parent 5e8c78a commit 9c39af6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wcfsetup/install/files/lib/system/importer/MediaImporter.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ public function import($oldID, array $data, array $additionalData = [])
100100
$data['categoryID'] = $categoryID;
101101
}
102102

103+
$data['captionEnableHtml'] ??= 0;
104+
103105
// save media
104106
$media = MediaEditor::create($data);
105107

0 commit comments

Comments
 (0)