forked from Wavyzz/dolibarr
bugfix
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user