mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Merge pull request #14389 from Godmartinz/remove-pdf-for-old-labels
old engine works as intended
This commit is contained in:
commit
c66267a0f9
|
@ -41,7 +41,7 @@ class Label implements View
|
|||
$template = LabelModel::find($settings->label2_template);
|
||||
|
||||
// If disabled, pass to legacy view
|
||||
if ((!$settings->label2_enable) && (!$template)) {
|
||||
if ((!$settings->label2_enable)) {
|
||||
return view('hardware/labels')
|
||||
->with('assets', $assets)
|
||||
->with('settings', $settings)
|
||||
|
|
Loading…
Reference in a new issue