Fix #2695
This commit is contained in:
parent
12d841f27d
commit
7f5377d219
@ -188,7 +188,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
|
|||||||
$hookmanager->initHooks(array('pdfgeneration'));
|
$hookmanager->initHooks(array('pdfgeneration'));
|
||||||
$parameters=array('file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs);
|
$parameters=array('file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs);
|
||||||
global $action;
|
global $action;
|
||||||
$reshook=$hookmanager->executeHooks('adterPDFCreation',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks
|
$reshook=$hookmanager->executeHooks('afterPDFCreation',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
if (! empty($conf->global->MAIN_UMASK))
|
if (! empty($conf->global->MAIN_UMASK))
|
||||||
@chmod($_file, octdec($conf->global->MAIN_UMASK));
|
@chmod($_file, octdec($conf->global->MAIN_UMASK));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user