From 57905806c5a75868c69f4b6f10ce8df3ade1553e Mon Sep 17 00:00:00 2001 From: Alice Rosa Date: Sat, 12 Mar 2022 08:26:42 +0200 Subject: [PATCH] Fix address not saved --- src/app/Http/Controllers/VolunteerController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/Http/Controllers/VolunteerController.php b/src/app/Http/Controllers/VolunteerController.php index 2968346..010229c 100644 --- a/src/app/Http/Controllers/VolunteerController.php +++ b/src/app/Http/Controllers/VolunteerController.php @@ -231,6 +231,7 @@ public function store(Request $request) { $data['allocation'] = ''; $data['comments'] = $request->has('comments') ? $request->comments : ''; $data['job'] = $request->has('job') ? $request->job : ''; + $data['address'] = $request->has('address') ? $request->address : ''; /** Add 'organisation' to the volunteer. */ $organisation_id = $request->organisation_id;