parent
32b639e3eb
commit
1c5f892049
2 changed files with 5 additions and 6 deletions
|
@ -209,7 +209,7 @@ class OptionController extends Controller
|
|||
|
||||
try {
|
||||
if ($request->input('action') !== 'delete') {
|
||||
$variable = $repo->update($variable, $request->intersect([
|
||||
$variable = $repo->update($variable, $request->only([
|
||||
'name', 'description', 'env_variable',
|
||||
'default_value', 'options', 'rules',
|
||||
]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue