Merged in feature/PMCORE-3834 (pull request #8566)

Merging feature/PMCORE-3834 to develop
This commit is contained in:
Julio Cesar Laura Avendaño
2022-09-13 15:13:25 +00:00
1231 changed files with 6402 additions and 200710 deletions

View File

@@ -623,9 +623,9 @@ class SpoolRun
}
$phpMailer->Body = $msBody;
//Attachments
$attachment = @unserialize($this->fileData['attachments']);
if ($attachment === false) {
$attachment = $this->fileData['attachments'];
$attachment = $this->fileData['attachments'];
if (is_string($attachment)) {
$attachment = @unserialize($attachment);
}
if (is_array($attachment)) {
foreach ($attachment as $key => $fileAttach) {