From e298bd0a687aee4a151c0bd305fe6306b1e7baa8 Mon Sep 17 00:00:00 2001 From: "David Avigni (Ankapi)" Date: Wed, 22 Apr 2015 15:23:52 +0200 Subject: [PATCH] Fixed hook "pdf generation", executeHooks misnamed: replacement "adterPDFCreation" with "afterPDFCreation" --- htdocs/core/modules/cheque/pdf/pdf_blochet.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php b/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php index 5d1222da6dd..aef8770a501 100644 --- a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php +++ b/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php @@ -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));