This commit is contained in:
Martin Müller 2014-04-29 21:13:06 +02:00
parent a446c0bc4c
commit 7d28aca785
1 changed files with 3 additions and 2 deletions

View File

@ -47,9 +47,10 @@ class DreamjobJobMsg extends AppModel {
$dataSource->begin();
$result = $this->save();
if($result){
die("Application"+$this->data['application_id']+"Lola"+$this->application_id);
die("Application"+$this->data['application_id']);
die("Lola"+$this->application_id);
$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