diff --git a/app/Http/Controllers/ContactsController.php b/app/Http/Controllers/ContactsController.php index d8154f7d09b..180d21981e8 100644 --- a/app/Http/Controllers/ContactsController.php +++ b/app/Http/Controllers/ContactsController.php @@ -240,7 +240,7 @@ public function update(Request $request, Contact $contact) ->withErrors($validator); } - if (! $contact->setName($request->input('firstname'), null, $request->input('lastname'))) { + if (! $contact->setName($request->input('firstname'), $request->input('lastname'))) { return back() ->withInput() ->withErrors('There has been a problem with saving the name.');