From 7e9e5214efc44e8e83ba9c8fe9a82af8267c400b Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 22 Apr 2020 03:50:43 -0700 Subject: [PATCH] Fixed status label create error Signed-off-by: snipe --- app/Http/Controllers/StatuslabelsController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/StatuslabelsController.php b/app/Http/Controllers/StatuslabelsController.php index 39ed9ee1d0..e1b7ffe0ef 100755 --- a/app/Http/Controllers/StatuslabelsController.php +++ b/app/Http/Controllers/StatuslabelsController.php @@ -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()); }