BUG 8320 it was added changes proposed by Amos
This commit is contained in:
@@ -341,7 +341,7 @@ class spoolRun {
|
|||||||
$oPHPMailer->Body = utf8_decode($this->fileData['body']);
|
$oPHPMailer->Body = utf8_decode($this->fileData['body']);
|
||||||
if(is_array($this->fileData['attachments'])){
|
if(is_array($this->fileData['attachments'])){
|
||||||
foreach($this->fileData['attachments'] as $key => $fileAttach){
|
foreach($this->fileData['attachments'] as $key => $fileAttach){
|
||||||
$oPHPMailer->AddAttachment($fileAttach);
|
$oPHPMailer->AddAttachment($fileAttach, is_int($key) ? '' : $key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach( $this->fileData['envelope_to'] as $sEmail ) {
|
foreach( $this->fileData['envelope_to'] as $sEmail ) {
|
||||||
@@ -403,7 +403,7 @@ class spoolRun {
|
|||||||
|
|
||||||
if(is_array($this->fileData['attachments'])){
|
if(is_array($this->fileData['attachments'])){
|
||||||
foreach($this->fileData['attachments'] as $key => $fileAttach){
|
foreach($this->fileData['attachments'] as $key => $fileAttach){
|
||||||
$oPHPMailer->AddAttachment($fileAttach);
|
$oPHPMailer->AddAttachment($fileAttach, is_int($key) ? '' : $key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach( $this->fileData['envelope_to'] as $sEmail ) {
|
foreach( $this->fileData['envelope_to'] as $sEmail ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user