diff --git a/app/Model/DreamjobJobMsg.php b/app/Model/DreamjobJobMsg.php index 69af8a8..745d298 100644 --- a/app/Model/DreamjobJobMsg.php +++ b/app/Model/DreamjobJobMsg.php @@ -47,7 +47,9 @@ class DreamjobJobMsg extends AppModel { $dataSource->begin(); $result = $this->save(); if($result){ + die($result); $app = $this->Application->find('first', array('conditions' => array('Application.id' => $this->application_id))); + die($app); if($this->fromcompany) $result = self::sendMail($app['User']['mail'],$this->application_id); else