2
0
forked from Wavyzz/dolibarr

Enable MAIN_MAIL_ADD_INLINE_IMAGES_IF_DATA by default

This commit is contained in:
Laurent Destailleur
2022-11-21 18:30:17 +01:00
parent 8a70e0de72
commit 6aefc9edfc
2 changed files with 5 additions and 1 deletions

View File

@@ -267,7 +267,7 @@ class CMailFile
}
// Set atleastoneimage if there is at least one embedded file (into ->html_images)
if ($findimg) {
if ($findimg > 0) {
foreach ($this->html_images as $i => $val) {
if ($this->html_images[$i]) {
$this->atleastoneimage = 1;