diff --git a/app/Model/DreamjobJobMsg.php b/app/Model/DreamjobJobMsg.php index 42d0c71..fcf0432 100644 --- a/app/Model/DreamjobJobMsg.php +++ b/app/Model/DreamjobJobMsg.php @@ -51,7 +51,7 @@ class DreamjobJobMsg extends AppModel { if($this->fromcompany) $result = self::sendMail($app['User']['mail'],$this->application_id); else - $result = sel::sendMail($app['WorkerUser']['mail'],$this->application_id); + $result = self::sendMail($app['WorkerUser']['mail'],$this->application_id); } if ($result) { $dataSource->commit();