mail : getDetails return attachmentDetails at empty if no attach is defined
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5471 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2
mail.php
2
mail.php
@@ -1356,6 +1356,8 @@ class mail
|
|||||||
}
|
}
|
||||||
unset ($sectionID);
|
unset ($sectionID);
|
||||||
unset ($section);
|
unset ($section);
|
||||||
|
$attachmentDetails = array ();
|
||||||
|
$attachmentInlineDetails = array ();
|
||||||
for ($i = 0 ; $i < $attachmentNb ; $i ++)
|
for ($i = 0 ; $i < $attachmentNb ; $i ++)
|
||||||
$attachmentDetails[$i] = $this->getAttachmentDetails($i);
|
$attachmentDetails[$i] = $this->getAttachmentDetails($i);
|
||||||
for ($i = 0 ; $i < $attachmentInlineNb ; $i ++)
|
for ($i = 0 ; $i < $attachmentInlineNb ; $i ++)
|
||||||
|
|||||||
Reference in New Issue
Block a user