Merge pull request #16166 from Godmartinz/rollbar_none-qr-code

This commit is contained in:
snipe 2025-02-04 16:16:00 +00:00 committed by GitHub
commit 5e363f7dd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,12 +116,9 @@ class Label implements View
}
}
if ($template->getSupport2DBarcode()) {
if ($template->getSupport2DBarcode()) {
$barcode2DType = $settings->label2_2d_type;
$barcode2DType = ($barcode2DType == 'default') ?
$settings->barcode_type :
$barcode2DType;
if (($barcode2DType != 'none') && (!is_null($barcode2DType))) {
if (($barcode2DType != 'none') && (!is_null($barcode2DType))) {
switch ($settings->label2_2d_target) {
case 'ht_tag':
$barcode2DTarget = route('ht/assetTag', $asset->asset_tag);