Merge pull request #15188 from Godmartinz/1d_barcode_select_bug

Fixed 1d barcode targeting.
This commit is contained in:
snipe 2024-07-29 20:00:21 +01:00 committed by GitHub
commit 4c5b82ae37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,7 @@ class Label implements View
if ($settings->alt_barcode_enabled) {
if ($template->getSupport1DBarcode()) {
$barcode1DType = $settings->alt_barcode;
$barcode1DType = $settings->label2_1d_type;
if ($barcode1DType != 'none') {
$assetData->put('barcode1d', (object)[
'type' => $barcode1DType,