suche
This commit is contained in:
parent
2cad9784a8
commit
176629151e
|
@ -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']));
|
$this->User->create(array('User'=>$data['User']));
|
||||||
$result=$this->User->save();
|
$result=$this->User->save();
|
||||||
if($result){
|
if($result){
|
||||||
|
|
|
@ -77,7 +77,7 @@ class DreamjobWorker extends AppModel {
|
||||||
$data['AppUser']['bday'] = $data['User']['bday'];
|
$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']));
|
$this->User->create(array('User'=>$data['User']));
|
||||||
$result=$this->User->save();
|
$result=$this->User->save();
|
||||||
if($result){
|
if($result){
|
||||||
|
|
Loading…
Reference in New Issue