Update bonprelevement.class.php

This commit is contained in:
Frédéric FRANCE 2023-01-18 23:43:54 +01:00 committed by GitHub
parent f084c306b2
commit ff7a666c2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1690,7 +1690,7 @@ class BonPrelevement extends CommonObject
fclose($this->file);
if (!empty($conf->global->MAIN_UMASK)) {
@chmod($this->file, octdec($conf->global->MAIN_UMASK));
@chmod($this->filename, octdec($conf->global->MAIN_UMASK));
}
return $result;