Skip to content
Snippets Groups Projects
Commit 7f5377d2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix #2695

parent 12d841f2
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
$hookmanager->initHooks(array('pdfgeneration'));
$parameters=array('file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs);
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))
@chmod($_file, octdec($conf->global->MAIN_UMASK));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment