From 8877aff6573480a4e36db16b38ff15adb1833594 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 18 Feb 2006 14:16:54 +0000 Subject: [PATCH] bugfix --- htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php b/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php index 2b3ef326fd2..34bdd7ff9a6 100644 --- a/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php +++ b/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php @@ -137,7 +137,7 @@ class pdf_muscadet extends ModelePDFCommandesSuppliers $langs->load("products"); $langs->load("orders"); - if ($conf->commande->dir_output) + if ($conf->fournisseur->commande->dir_output) { $com = new CommandeFournisseur($this->db); $ret=$com->fetch($id); @@ -146,7 +146,7 @@ class pdf_muscadet extends ModelePDFCommandesSuppliers $comref = sanitize_string($com->ref); $comref = str_replace("(","",$comref); $comref = str_replace(")","",$comref); - $dir = $conf->commande->dir_output . "/" . $comref; + $dir = $conf->fournisseur->commande->dir_output . "/" . $comref; $file = $dir . "/" . $comref . ".pdf"; if (! file_exists($dir))