From bf276734a24d30aec35a12b963297997f0f1496c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 29 May 2006 14:37:13 +0000 Subject: [PATCH] bugfix --- htdocs/expedition/commande.php | 2 +- htdocs/expedition/fiche.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/expedition/commande.php b/htdocs/expedition/commande.php index 5d2dd449eed..b714f393dde 100644 --- a/htdocs/expedition/commande.php +++ b/htdocs/expedition/commande.php @@ -80,7 +80,7 @@ if ($_GET["id"] > 0) $commande = New Commande($db); if ( $commande->fetch($_GET["id"]) > 0) { - $commande->livraison_array(1); + $commande->expedition_array(1); $soc = new Societe($db); $soc->fetch($commande->soc_id); diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index c37b3bf6b95..96a1dc8b964 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -254,7 +254,7 @@ if ($_GET["action"] == 'create') * */ print ''; - $quantite_livree = $commande->livraisons[$ligne->product_id]; + $quantite_livree = $commande->expeditions[$ligne->product_id]; print $quantite_livree;; print '';