From 63c9803513d72c16ca2cda5b09c66f92fc86b5d4 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 31 May 2006 18:27:55 +0000 Subject: [PATCH] bugfix --- htdocs/expedition/commande.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/expedition/commande.php b/htdocs/expedition/commande.php index 56570076eb8..b8f8767ecc0 100644 --- a/htdocs/expedition/commande.php +++ b/htdocs/expedition/commande.php @@ -520,9 +520,13 @@ if ($_GET["id"] > 0) print ''; print ''; print ''; - if ($conf->livraison->enabled && $objp->livraison_id) + if ($conf->livraison->enabled) { - print ''; + $objt = $db->fetch_object($resql); + if ($objt->livraison_id) + { + print ''; + } } print ''; print '';
'.$langs->trans("Sending").''.$langs->trans("DeliveryOrder").''.$langs->trans("DeliveryOrder").''.$langs->trans("Description").''.$langs->trans("QtyShipped").'