Merge pull request #14389 from Godmartinz/remove-pdf-for-old-labels

old engine works as intended
This commit is contained in:
snipe 2024-03-07 21:06:57 +00:00 committed by GitHub
commit c66267a0f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ class Label implements View
$template = LabelModel::find($settings->label2_template); $template = LabelModel::find($settings->label2_template);
// If disabled, pass to legacy view // If disabled, pass to legacy view
if ((!$settings->label2_enable) && (!$template)) { if ((!$settings->label2_enable)) {
return view('hardware/labels') return view('hardware/labels')
->with('assets', $assets) ->with('assets', $assets)
->with('settings', $settings) ->with('settings', $settings)