if statement order change

This commit is contained in:
Godfrey M 2024-03-06 15:24:03 -08:00
parent 6559581bad
commit 5f0b7f328c

View file

@ -105,8 +105,8 @@ class Label implements View
}
}
if ($template->getSupport1DBarcode()) {
if ($settings->alt_barcode_enabled) {
if ($settings->alt_barcode_enabled) {
if ($template->getSupport1DBarcode()) {
$barcode1DType = $settings->label2_1d_type;
$barcode1DType = ($barcode1DType == 'default') ?
(($settings->alt_barcode_enabled) ? $settings->alt_barcode : null) :