Fix : ne pas passer en 3ème paramètre de l'appel de generer_pdf() : le type n'est pas du tout adapté (array à la place de string|bool)
This commit is contained in:
parent
f5c6c696a2
commit
3caca6a1fc
1 changed files with 2 additions and 4 deletions
|
@ -3,9 +3,7 @@ if (!defined('_ECRIRE_INC_VERSION')){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
function inc_charger_pdf_dist($fichier_pdf, $context = [], $post = false){
|
function inc_charger_pdf_dist($fichier_pdf, $contexte = [], $args = []){
|
||||||
|
|
||||||
// appel de la fonction de génération des PDFs de Gamufonctions
|
|
||||||
$f = charger_fonction('generer_pdf','gamu');
|
$f = charger_fonction('generer_pdf','gamu');
|
||||||
return $f($fichier_pdf, $context, $post);
|
return $f($fichier_pdf, $contexte);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue