This commit is contained in:
Martin Müller 2014-04-17 00:18:16 +02:00
parent 2cad9784a8
commit 176629151e
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class DreamjobCompany extends AppModel {
$data['User']['date_joined'] = date(DATE_ATOM);
$data['User']['date_joined'] = date("Y-m-d H:i:s");
$this->User->create(array('User'=>$data['User']));
$result=$this->User->save();
if($result){

View File

@ -77,7 +77,7 @@ class DreamjobWorker extends AppModel {
$data['AppUser']['bday'] = $data['User']['bday'];
$data['User']['date_joined'] = date(DATE_ATOM);
$data['User']['date_joined'] = date("Y-m-d H:i:s");
$this->User->create(array('User'=>$data['User']));
$result=$this->User->save();
if($result){