Merge pull request #5036 from frederic34/patch-8
FIX Get bad barcode type of product in printsheet page
This commit is contained in:
commit
95ab50f93f
@ -62,7 +62,7 @@ if (GETPOST('submitproduct') && GETPOST('submitproduct'))
|
|||||||
{
|
{
|
||||||
$producttmp->fetch(GETPOST('productid'));
|
$producttmp->fetch(GETPOST('productid'));
|
||||||
$forbarcode=$producttmp->barcode;
|
$forbarcode=$producttmp->barcode;
|
||||||
$fk_barcode_type=$thirdpartytmp->barcode_type_code;
|
$fk_barcode_type=$producttmp->barcode_type;
|
||||||
|
|
||||||
if (empty($fk_barcode_type) && ! empty($conf->global->PRODUIT_DEFAULT_BARCODE_TYPE)) $fk_barcode_type = $conf->global->PRODUIT_DEFAULT_BARCODE_TYPE;
|
if (empty($fk_barcode_type) && ! empty($conf->global->PRODUIT_DEFAULT_BARCODE_TYPE)) $fk_barcode_type = $conf->global->PRODUIT_DEFAULT_BARCODE_TYPE;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user