on peut aussi vouloir passer dans la fonction generique et celle du slug
This commit is contained in:
parent
744b025d3d
commit
55e674742e
1 changed files with 2 additions and 1 deletions
|
@ -117,7 +117,8 @@ function formulaires_gamumail_traiter_dist($slug, $auteur = 0, $Tclient = [], $T
|
||||||
|
|
||||||
if ($f = charger_fonction('traiter_av_pdf', 'gamumail', true)) {
|
if ($f = charger_fonction('traiter_av_pdf', 'gamumail', true)) {
|
||||||
$options = $f($options, $auteur, $Tclient, $Tpdf);
|
$options = $f($options, $auteur, $Tclient, $Tpdf);
|
||||||
} elseif ($f = charger_fonction($slug . '_traiter_av_pdf', 'gamumail', true)) {
|
}
|
||||||
|
if ($f = charger_fonction($slug . '_traiter_av_pdf', 'gamumail', true)) {
|
||||||
$options = $f($options, $auteur, $Tclient, $Tpdf);
|
$options = $f($options, $auteur, $Tclient, $Tpdf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue