Fixed status label create error

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-04-22 03:50:43 -07:00
parent e1784394b3
commit 7e9e5214ef
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -51,8 +51,7 @@ class StatuslabelsController extends Controller
return view('statuslabels/edit')
->with('item', new Statuslabel)
->with('statuslabel_types', Helper::statusTypeList())
->with('use_statuslabel_type', (new Statuslabel)->getStatuslabelType());
->with('statuslabel_types', Helper::statusTypeList());
}