Fix log message

This commit is contained in:
ldestailleur 2025-09-24 18:29:20 +02:00
parent 35f6a98665
commit bb65d07c3d

View file

@ -2909,7 +2909,7 @@ function dol_compress_dir($inputdir, $outputfile, $mode = "zip", $excludefiles =
$newmask = getDolGlobalString('MAIN_UMASK');
}
if (empty($newmask)) { // This should no happen
dol_syslog("Warning: dol_copy called with empty value for newmask and no default value defined", LOG_WARNING);
dol_syslog("Warning: dol_compress_dir called with empty value for newmask and no default value defined", LOG_WARNING);
$newmask = '0664';
}