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