forked from Wavyzz/dolibarr
Enable MAIN_MAIL_ADD_INLINE_IMAGES_IF_DATA by default
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user