This commit is contained in:
Martin Müller 2014-04-29 21:01:37 +02:00
parent fa24b58015
commit 01b79893bd
1 changed files with 2 additions and 0 deletions

View File

@ -47,7 +47,9 @@ class DreamjobJobMsg extends AppModel {
$dataSource->begin(); $dataSource->begin();
$result = $this->save(); $result = $this->save();
if($result){ if($result){
die($result);
$app = $this->Application->find('first', array('conditions' => array('Application.id' => $this->application_id))); $app = $this->Application->find('first', array('conditions' => array('Application.id' => $this->application_id)));
die($app);
if($this->fromcompany) if($this->fromcompany)
$result = self::sendMail($app['User']['mail'],$this->application_id); $result = self::sendMail($app['User']['mail'],$this->application_id);
else else