diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index e82f4f3825b..951760700f3 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -106,7 +106,7 @@ if ($_REQUEST['action'] == 'builddoc') // En get ou en post { $outputlangs = new Translate(DOL_DOCUMENT_ROOT ."/langs"); $outputlangs->setDefaultLang($_REQUEST['lang_id']); - $result=fichinter_pdf_create($db, $_REQUEST['id'], '', $_REQUEST['model'], $outputlangs); + $result=fichinter_pdf_create($db, $_REQUEST['id'], $_REQUEST['model'], $outputlangs); if ($result <= 0) { dolibarr_print_error($db,$result);