This commit is contained in:
Martin Müller 2014-04-29 20:57:14 +02:00
parent 040cf617f1
commit 8869f9f3d0
1 changed files with 1 additions and 1 deletions

View File

@ -47,8 +47,8 @@ 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('DreamjobJobApplication.id' => $this->application_id))); $app = $this->Application->find('first', array('conditions' => array('DreamjobJobApplication.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