bugfix
This commit is contained in:
parent
f73db03e53
commit
028d875bbb
@ -881,6 +881,9 @@ class Product
|
|||||||
{
|
{
|
||||||
$this->barcode_type = $conf->global->PRODUIT_DEFAULT_BARCODE_TYPE;
|
$this->barcode_type = $conf->global->PRODUIT_DEFAULT_BARCODE_TYPE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->barcode_type > 0)
|
||||||
|
{
|
||||||
$sql = "SELECT code, libelle, coder";
|
$sql = "SELECT code, libelle, coder";
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."c_barcode_type";
|
$sql.= " FROM ".MAIN_DB_PREFIX."c_barcode_type";
|
||||||
$sql.= " WHERE rowid = ".$this->barcode_type;
|
$sql.= " WHERE rowid = ".$this->barcode_type;
|
||||||
@ -898,6 +901,7 @@ class Product
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// multiprix
|
// multiprix
|
||||||
if ($conf->global->PRODUIT_MULTIPRICES)
|
if ($conf->global->PRODUIT_MULTIPRICES)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user