diff --git a/app/Model/DreamjobJobMsg.php b/app/Model/DreamjobJobMsg.php index e466b41..481e6f4 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){ + die($result); $app = $this->Application->find('first', array('conditions' => array('DreamjobJobApplication.id' => $this->application_id))); - die($app); if($this->fromcompany) $result = self::sendMail($app['User']['mail'],$this->application_id); else