Merge branch 'rhymix:master' into master

This commit is contained in:
Lastorder 2026-01-30 14:57:37 +09:00 committed by GitHub
commit ba8bbda74b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 66 additions and 27 deletions

View file

@ -1870,7 +1870,14 @@ class FileController extends File
foreach($source_file_list as $source_file)
{
$this->copyFile($source_file, $module_srl, $upload_target_srl, $content);
$copied_file = $this->copyFile($source_file, $module_srl, $upload_target_srl, $content);
if ($source_file->cover_image == 'Y')
{
executeQuery('file.updateCoverImage', [
'file_srl' => $copied_file->get('file_srl'),
'cover_image' => 'Y',
]);
}
}
}