diff --git a/app/Model/DreamjobJobMsg.php b/app/Model/DreamjobJobMsg.php index 18e1cc2..d299fff 100644 --- a/app/Model/DreamjobJobMsg.php +++ b/app/Model/DreamjobJobMsg.php @@ -47,8 +47,8 @@ class DreamjobJobMsg extends AppModel { $dataSource->begin(); $result = $this->save(); if($result){ - - $app = $this->Application->find('first', array('conditions' => array('Application.id' => $result["DreamjobJobMsg"]["application_id"]))); + $con = array('conditions' => array('Application.id' => $result["DreamjobJobMsg"]["application_id"])); + $app = $this->Application->find('first' ); echo var_dump($app); echo "Lola"; exit(1);