Skip to content

Commit

Permalink
fix baserproject#2570 4系版メールフォームで1フォーム内で複数のファイルタイプを利用すると送信完了前にエラーが起こる…
Browse files Browse the repository at this point in the history
…動作を改善
  • Loading branch information
fuchigam1 committed Jul 7, 2023
1 parent 7194782 commit 4027037
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Baser/Lib/BcFileUploader.php
Expand Up @@ -1030,7 +1030,11 @@ public function copyImages($setting, $file)
*/
public function setUploadingFiles($files)
{
$this->uploadingFiles = $files;
if ($this->uploadingFiles) {
$this->uploadingFiles = array_merge($this->uploadingFiles, $files);
} else {
$this->uploadingFiles = $files;
}
}

/**
Expand Down

0 comments on commit 4027037

Please sign in to comment.