take_systemwide default

This commit is contained in:
Martin Müller 2014-04-27 23:18:29 +02:00
parent fc43b54982
commit e9e6a8a093
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class RegistrationController extends AppController {
$data['DreamjobUser']['street'] = $this->request->data['DreamjobUser']['street']; $data['DreamjobUser']['street'] = $this->request->data['DreamjobUser']['street'];
$data['DreamjobUser']['postcode'] = $this->request->data['DreamjobUser']['postcode']; $data['DreamjobUser']['postcode'] = $this->request->data['DreamjobUser']['postcode'];
$data['AppUser']['nickname'] = $this->request->data['AppUser']['nickname']; $data['AppUser']['nickname'] = $this->request->data['AppUser']['nickname'];
$data['AppUser']['take_systemwide'] = true;
$data['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform']; $data['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform'];
$data['DreamjobCompany']['owner'] = $this->request->data['DreamjobCompany']['owner']; $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']['bday'] = $this->request->data['AppUser']['bday'];
$data['AppUser']['first_name'] = $this->request->data['AppUser']['first_name']; $data['AppUser']['first_name'] = $this->request->data['AppUser']['first_name'];
$data['AppUser']['last_name'] = $this->request->data['AppUser']['last_name']; $data['AppUser']['last_name'] = $this->request->data['AppUser']['last_name'];
$data['AppUser']['take_systemwide'] = true;
//WORKER //WORKER
$data['AppUser']['mannerofaddress_id'] = $this->request->data['AppUser']['mannerofaddress_id']; $data['AppUser']['mannerofaddress_id'] = $this->request->data['AppUser']['mannerofaddress_id'];
$data['DreamjobWorker']['country'] = $this->request->data['DreamjobWorker']['country']; $data['DreamjobWorker']['country'] = $this->request->data['DreamjobWorker']['country'];