Fix CI
This commit is contained in:
parent
e3953f684b
commit
381c6fbecf
1 changed files with 2 additions and 2 deletions
|
|
@ -270,11 +270,11 @@ class CMailFile
|
|||
// This convert an embedd file with src="/viewimage.php?modulepart... into a cid link
|
||||
// TODO Exclude viewimage used for the read tracker ?
|
||||
$dolibarr_main_data_root_images=$dolibarr_main_data_root;
|
||||
if ((int)$conf->entity!==1) {
|
||||
if ((int) $conf->entity !== 1) {
|
||||
$dolibarr_main_data_root_images.='/'.$conf->entity.'/';
|
||||
}
|
||||
$findimg = $this->findHtmlImages($dolibarr_main_data_root_images.'/medias');
|
||||
if ($findimg<0) {
|
||||
if ($findimg < 0) {
|
||||
dol_syslog("CMailFile::CMailfile: Error on findHtmlImages");
|
||||
$this->error = 'ErrorInAddAttachementsImageBaseOnMedia';
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue