From e9e6a8a09315a859665585f0aff93204a87b70af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Sun, 27 Apr 2014 23:18:29 +0200 Subject: [PATCH] take_systemwide default --- app/Controller/RegistrationController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Controller/RegistrationController.php b/app/Controller/RegistrationController.php index 6ffb9b7..35a6c13 100644 --- a/app/Controller/RegistrationController.php +++ b/app/Controller/RegistrationController.php @@ -40,6 +40,7 @@ class RegistrationController extends AppController { $data['DreamjobUser']['street'] = $this->request->data['DreamjobUser']['street']; $data['DreamjobUser']['postcode'] = $this->request->data['DreamjobUser']['postcode']; $data['AppUser']['nickname'] = $this->request->data['AppUser']['nickname']; + $data['AppUser']['take_systemwide'] = true; $data['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform']; $data['DreamjobCompany']['owner'] = $this->request->data['DreamjobCompany']['owner']; @@ -94,6 +95,8 @@ class RegistrationController extends AppController { $data['AppUser']['bday'] = $this->request->data['AppUser']['bday']; $data['AppUser']['first_name'] = $this->request->data['AppUser']['first_name']; $data['AppUser']['last_name'] = $this->request->data['AppUser']['last_name']; + $data['AppUser']['take_systemwide'] = true; + //WORKER $data['AppUser']['mannerofaddress_id'] = $this->request->data['AppUser']['mannerofaddress_id']; $data['DreamjobWorker']['country'] = $this->request->data['DreamjobWorker']['country'];