mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Set default_label to 0 instead of null in API
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a5230319b8
commit
17bf899a17
|
@ -73,7 +73,7 @@ class StatuslabelsController extends Controller
|
|||
$statuslabel->archived = $statusType['archived'];
|
||||
$statuslabel->color = $request->input('color');
|
||||
$statuslabel->show_in_nav = $request->input('show_in_nav', 0);
|
||||
$statuslabel->default_label = $request->input('default_label');
|
||||
$statuslabel->default_label = $request->input('default_label', 0);
|
||||
|
||||
|
||||
if ($statuslabel->save()) {
|
||||
|
|
Loading…
Reference in a new issue