From 07b94e7e3c9b45994bfa8eac75601116ab5909b5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 1 Jun 2006 10:05:04 +0000 Subject: [PATCH] bugfix --- htdocs/expedition/commande.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/expedition/commande.php b/htdocs/expedition/commande.php index b8f8767ecc0..dd4a9bb9cdd 100644 --- a/htdocs/expedition/commande.php +++ b/htdocs/expedition/commande.php @@ -522,11 +522,7 @@ if ($_GET["id"] > 0) print ''.$langs->trans("Sending").''; if ($conf->livraison->enabled) { - $objt = $db->fetch_object($resql); - if ($objt->livraison_id) - { - print ''.$langs->trans("DeliveryOrder").''; - } + print ''.$langs->trans("DeliveryOrder").''; } print ''.$langs->trans("Description").''; print ''.$langs->trans("QtyShipped").''; @@ -545,6 +541,10 @@ if ($_GET["id"] > 0) { print ''.img_object($langs->trans("ShowSending"),'generic').' '.$objp->livraison_ref.''; } + else + { + print ''; + } if ($objp->fk_product > 0) {