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:
2019-09-11 12:27:50 +00:00
parent daed08ef10
commit e72c0a849e

View File

@@ -1356,6 +1356,8 @@ class mail
}
unset ($sectionID);
unset ($section);
$attachmentDetails = array ();
$attachmentInlineDetails = array ();
for ($i = 0 ; $i < $attachmentNb ; $i ++)
$attachmentDetails[$i] = $this->getAttachmentDetails($i);
for ($i = 0 ; $i < $attachmentInlineNb ; $i ++)