Skip to content

Commit

Permalink
rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerrlongg committed Sep 25, 2024
1 parent 852a56f commit d02b993
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Http/Controllers/AssetModelsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ public function update(StoreAssetModelRequest $request, $modelId) : RedirectResp

if ($this->shouldAddDefaultValues($request->input())) {
if (!$this->assignCustomFieldsDefaultValues($model, $request->input('default_values'))) {
//return redirect()->back()->withInput()->with('error', trans('admin/custom_fields/message.fieldset_default_value.error'));
return redirect()->back()->withInput()->withErrors($this->validatorErrors);
}
}
Expand Down

0 comments on commit d02b993

Please sign in to comment.