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