From 8869f9f3d0ce34ba99c87403a1ea9e87610f27c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Tue, 29 Apr 2014 20:57:14 +0200 Subject: [PATCH] msg --- app/Model/DreamjobJobMsg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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