Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
This commit is contained in:
commit
a21e896dbe
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ class CMailFile
|
|||
// This converts an embed 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 ($conf->entity !== 1) {
|
||||
if ((int) $conf->entity !== 1) {
|
||||
$dolibarr_main_data_root_images.='/'.$conf->entity.'/';
|
||||
}
|
||||
$findimg = $this->findHtmlImages($dolibarr_main_data_root_images.'/medias');
|
||||
|
|
|
|||
Loading…
Reference in a new issue