Fixed save_yabs_as_txt causing settings update to fail validation
This commit is contained in:
parent
b2595fc920
commit
f44c69caed
|
@ -25,7 +25,7 @@ class SettingsController extends Controller
|
|||
'show_server_value_location' => 'required|integer|min:0|max:1',
|
||||
'show_server_value_price' => 'required|integer|min:0|max:1',
|
||||
'show_server_value_yabs' => 'required|integer|min:0|max:1',
|
||||
'save_yabs_as_txt' => 'required|integer|min:0|max:1',
|
||||
'save_yabs_as_txt' => 'integer|min:0|max:1',
|
||||
'default_currency' => 'required|string|size:3',
|
||||
'default_server_os' => 'required|integer',
|
||||
'due_soon_amount' => 'required|integer|between:0,12',
|
||||
|
@ -60,7 +60,7 @@ class SettingsController extends Controller
|
|||
'show_server_value_location' => $request->show_server_value_location,
|
||||
'show_server_value_price' => $request->show_server_value_price,
|
||||
'show_server_value_yabs' => $request->show_server_value_yabs,
|
||||
'save_yabs_as_txt' => $request->save_yabs_as_txt,
|
||||
'save_yabs_as_txt' => 0,
|
||||
'default_currency' => $request->default_currency,
|
||||
'default_server_os' => $request->default_server_os,
|
||||
'due_soon_amount' => $request->due_soon_amount,
|
||||
|
|
Loading…
Reference in New Issue
Block a user