From 57d3c8778c5f32638cf2fc236bcebeb69caf593a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 31 May 2006 13:37:15 +0000 Subject: [PATCH] =?UTF-8?q?D=E9but=20ajout=20bon=20de=20livraison?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/livraison/mods/pdf/pdf_typhon.modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/livraison/mods/pdf/pdf_typhon.modules.php b/htdocs/livraison/mods/pdf/pdf_typhon.modules.php index 3ddbf076bab..605d88f5f92 100644 --- a/htdocs/livraison/mods/pdf/pdf_typhon.modules.php +++ b/htdocs/livraison/mods/pdf/pdf_typhon.modules.php @@ -140,9 +140,9 @@ class pdf_typhon extends ModelePDFDeliveryOrder $delivery = new Livraison($this->db); $delivery->fetch($id); - $delivery->commande = new Livraison($this->db); + $delivery = new Livraison($this->db); $delivery->commande->id = $delivery->commande_id; - $delivery->commande->fetch_commande(); + $delivery->commande = fetch_commande(); $nblignes = sizeof($delivery->commande->lignes);