msg+done
This commit is contained in:
parent
090b6510a3
commit
94bcec37b2
|
@ -47,9 +47,10 @@ class DreamjobJobMsg extends AppModel {
|
||||||
$dataSource->begin();
|
$dataSource->begin();
|
||||||
$result = $this->save();
|
$result = $this->save();
|
||||||
if($result){
|
if($result){
|
||||||
echo $result["DreamjobJobMsg"]["application_id"];
|
|
||||||
exit(1);
|
|
||||||
$app = $this->Application->find('first', array('conditions' => array('Application.id' => $result["DreamjobJobMsg"]["application_id"])));
|
$app = $this->Application->find('first', array('conditions' => array('Application.id' => $result["DreamjobJobMsg"]["application_id"])));
|
||||||
|
echo var_dump($app);
|
||||||
|
exit(1);
|
||||||
|
|
||||||
if($this->fromcompany)
|
if($this->fromcompany)
|
||||||
$result = self::sendMail($app['User']['mail'],$this->application_id);
|
$result = self::sendMail($app['User']['mail'],$this->application_id);
|
||||||
|
|
Loading…
Reference in New Issue