diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index e7fbae1..c5a37a0 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -31,7 +31,7 @@ public function submit(Request $request){ $data = $request->only(['name', 'surname', 'email', 'file', 'organization', 'is_attending', 'consent_form']); $data['attended'] = 0; $data['is_attending'] = (bool)$data['is_attending']; - $data['consent_form'] = (bool)$data['consent_form']; + $data['consent_form'] = (bool)$data['consent_form'] ?? false; $attender = Attender::create($data); diff --git a/resources/views/signup.blade.php b/resources/views/signup.blade.php index 866a812..79c7fb4 100644 --- a/resources/views/signup.blade.php +++ b/resources/views/signup.blade.php @@ -22,34 +22,51 @@ *Upon your confirmation of the following, you will receive a QR code to your e-mail which you must present at the registration together with your ID.
- *Please read EEAS PRIVACY STATEMENT - DATA PROTECTION NOTICE and sign the CONSENT FORM Purpose of the filming/photo shooting -
- - consent form -+ *Please read EEAS PRIVACY STATEMENT - DATA PROTECTION NOTICE and sign the CONSENT FORM Purpose of the filming/photo shooting +
+ + consent form +