This commit is contained in:
Regis Houssin
2006-05-29 14:13:08 +00:00
parent f333422018
commit c16b72e73f
3 changed files with 3 additions and 3 deletions

View File

@@ -342,7 +342,7 @@ else
$hselected = $h; $hselected = $h;
$h++; $h++;
if ($conf->livraison->enable) if ($conf->livraison->enabled)
{ {
$head[$h][0] = DOL_URL_ROOT."/livraison/fiche.php?id=".$livraison->id; $head[$h][0] = DOL_URL_ROOT."/livraison/fiche.php?id=".$livraison->id;
$head[$h][1] = $langs->trans("DeliveryCard"); $head[$h][1] = $langs->trans("DeliveryCard");

View File

@@ -338,7 +338,7 @@ else
$soc->fetch($commande->soc_id); $soc->fetch($commande->soc_id);
$h=0; $h=0;
if ($conf->expedition->enable) if ($conf->expedition->enabled)
{ {
$head[$h][0] = DOL_URL_ROOT."/expedition/fiche.php?id=".$expedition->id; $head[$h][0] = DOL_URL_ROOT."/expedition/fiche.php?id=".$expedition->id;
$head[$h][1] = $langs->trans("SendingCard"); $head[$h][1] = $langs->trans("SendingCard");

View File

@@ -92,7 +92,7 @@ class Livraison
if ($this->db->query($sql)) if ($this->db->query($sql))
{ {
if ($conf->expedition->enable) if ($conf->expedition->enabled)
{ {
$this->expedition = new Expedition($this->db); $this->expedition = new Expedition($this->db);
$this->expedition->id = $this->expedition_id; $this->expedition->id = $this->expedition_id;