Skip to content

Commit

Permalink
Fixed status label create error
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <snipe@snipe.net>
  • Loading branch information
snipe committed Apr 22, 2020
1 parent e178439 commit 7e9e521
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Http/Controllers/StatuslabelsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public function create()

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());
}


Expand Down

0 comments on commit 7e9e521

Please sign in to comment.