feature/add-attachments #2

Manually merged
Thifaine merged 12 commits from feature/add-attachments into master 2020-06-09 16:20:07 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 871d55f8d7 - Show all commits

View File

@ -158,7 +158,7 @@ class BluescaleMailTemplate implements \JsonSerializable
$file = is_object($file) && method_exists($file, 'getRealPath') ? $file->getRealPath() : $file;
$this->attachments[] = [
'file' => $file,
'path' => $file,
'filename' => $filename ?? basename($file)
];
}