Skip to content

Commit

Permalink
Merge pull request #16166 from Godmartinz/rollbar_none-qr-code
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe authored Feb 4, 2025
2 parents d906f3c + 9a75131 commit 5e363f7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/View/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,9 @@ public function render(callable $callback = null)
}
}

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);
Expand Down

0 comments on commit 5e363f7

Please sign in to comment.