diff --git a/formulaires/gamumail.php b/formulaires/gamumail.php index 5755a61..38b5670 100644 --- a/formulaires/gamumail.php +++ b/formulaires/gamumail.php @@ -113,6 +113,12 @@ function formulaires_gamumail_traiter_dist($slug, $auteur = 0, $Tclient = [], $T $pieces_jointes = []; + if ($f = charger_fonction('traiter_av_pdf', 'gamumail', true)) { + $options = $f($options, $auteur, $Tclient, $Tpdf); + } elseif ($f = charger_fonction($slug . '_traiter_av_pdf', 'gamumail', true)) { + $options = $f($options, $auteur, $Tclient, $Tpdf); + } + // les documents joints if (!empty($Tid_doc)) { foreach ($Tid_doc as $id_document) { diff --git a/paquet.xml b/paquet.xml index a4fe99c..490c6f0 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@