This commit is contained in:
Martin Müller 2014-04-29 21:21:36 +02:00
parent 9720a5233e
commit 090b6510a3
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ class DreamjobJobMsg extends AppModel {
$dataSource->begin(); $dataSource->begin();
$result = $this->save(); $result = $this->save();
if($result){ if($result){
echo $result["DreamjobJobMsg"]["application_id"];
exit(1);
$app = $this->Application->find('first', array('conditions' => array('Application.id' => $result["DreamjobJobMsg"]["application_id"]))); $app = $this->Application->find('first', array('conditions' => array('Application.id' => $result["DreamjobJobMsg"]["application_id"])));
if($this->fromcompany) if($this->fromcompany)