mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 02:42:33 +01:00
FIX trackid and temp dir on payment confirmation of event registration
This commit is contained in:
@@ -1901,9 +1901,15 @@ class CMailFile
|
||||
*/
|
||||
private function findHtmlImagesIsSrcData($images_dir)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
// Build the array of image extensions
|
||||
$extensions = array_keys($this->image_types);
|
||||
|
||||
if (empty($images_dir)) {
|
||||
$images_dir = $conf->admin->dir_output.'/temp/'.uniqid('cmailfile');
|
||||
}
|
||||
|
||||
if ($images_dir && !dol_is_dir($images_dir)) {
|
||||
dol_mkdir($images_dir, DOL_DATA_ROOT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user