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

View File

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