From 09134540e585415de5b79aea8dbd821f511c51bb Mon Sep 17 00:00:00 2001 From: Andre Cianfarani Date: Thu, 9 Feb 2006 08:36:22 +0000 Subject: [PATCH] modif de show_document pour export pdf des commandes --- htdocs/html.form.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 5e71fca221d..6c378c4ff6e 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -1845,7 +1845,7 @@ class Form { include_once(DOL_DOCUMENT_ROOT.'/includes/modules/commande/modules_commande.php'); $model=new ModelePDFCommandes(); - $modellist=$model->liste_modeles(); + $modellist=$model->liste_modeles($this->db); } } elseif ($modulepart == 'facture') @@ -1956,4 +1956,4 @@ class Form } -?> +?>