Skip to content
Snippets Groups Projects
Commit 95ab50f9 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5036 from frederic34/patch-8

FIX Get bad barcode type of product in printsheet page
parents 0ad97155 09528ccc
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ if (GETPOST('submitproduct') && GETPOST('submitproduct'))
{
$producttmp->fetch(GETPOST('productid'));
$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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment