From c16b72e73f0f659ab6ebd376edd38b7da9d4adb8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 29 May 2006 14:13:08 +0000 Subject: [PATCH] bugfix --- htdocs/expedition/fiche.php | 2 +- htdocs/livraison/fiche.php | 2 +- htdocs/livraison/livraison.class.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index 9285f220f70..c37b3bf6b95 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -342,7 +342,7 @@ else $hselected = $h; $h++; - if ($conf->livraison->enable) + if ($conf->livraison->enabled) { $head[$h][0] = DOL_URL_ROOT."/livraison/fiche.php?id=".$livraison->id; $head[$h][1] = $langs->trans("DeliveryCard"); diff --git a/htdocs/livraison/fiche.php b/htdocs/livraison/fiche.php index a472faff6c2..1dd023d03e8 100644 --- a/htdocs/livraison/fiche.php +++ b/htdocs/livraison/fiche.php @@ -338,7 +338,7 @@ else $soc->fetch($commande->soc_id); $h=0; - if ($conf->expedition->enable) + if ($conf->expedition->enabled) { $head[$h][0] = DOL_URL_ROOT."/expedition/fiche.php?id=".$expedition->id; $head[$h][1] = $langs->trans("SendingCard"); diff --git a/htdocs/livraison/livraison.class.php b/htdocs/livraison/livraison.class.php index a36db2d7784..d49505c2fbc 100644 --- a/htdocs/livraison/livraison.class.php +++ b/htdocs/livraison/livraison.class.php @@ -92,7 +92,7 @@ class Livraison if ($this->db->query($sql)) { - if ($conf->expedition->enable) + if ($conf->expedition->enabled) { $this->expedition = new Expedition($this->db); $this->expedition->id = $this->expedition_id;