This commit is contained in:
Martin Müller 2014-04-29 21:26:47 +02:00
parent 7797fecf92
commit 46c645bcba
1 changed files with 2 additions and 1 deletions

View File

@ -48,8 +48,9 @@ class DreamjobJobMsg extends AppModel {
$result = $this->save(); $result = $this->save();
if($result){ if($result){
$app = $this->Application->find('first', array('conditions' => array('DreamjobJobApplication.id' => $result["DreamjobJobMsg"]["application_id"]))); $app = $this->Application->find('first', array('conditions' => array('Application.id' => $result["DreamjobJobMsg"]["application_id"])));
echo var_dump($app); echo var_dump($app);
echo "Lola";
exit(1); exit(1);
if($this->fromcompany) if($this->fromcompany)