From 373a2b7326ac2b45fa91ea6d55cf09d112647485 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Tue, 31 Oct 2023 14:29:58 +0100 Subject: [PATCH] Fixed spelling in variable Fixed spelling in variable causing error "Undefined variable $attribute" --- app/Http/Controllers/InfoUserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/InfoUserController.php b/app/Http/Controllers/InfoUserController.php index d5a068064..e8b05e1a9 100644 --- a/app/Http/Controllers/InfoUserController.php +++ b/app/Http/Controllers/InfoUserController.php @@ -45,7 +45,7 @@ public function store(Request $request) User::where('id',Auth::user()->id) ->update([ 'name' => $attributes['name'], - 'email' => $attribute['email'], + 'email' => $attributes['email'], 'phone' => $attributes['phone'], 'location' => $attributes['location'], 'about_me' => $attributes["about_me"],