Commit 98fd88c9e07a34829cc33a05d87753edc53cbf55
Exists in
master
Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su
Showing 1 changed file Side-by-side Diff
app/Http/Controllers/WorkerController.php
... | ... | @@ -1012,7 +1012,7 @@ class WorkerController extends Controller |
1012 | 1012 | 'flag_new' => 1 |
1013 | 1013 | ]; |
1014 | 1014 | |
1015 | - $id_message = Message::add_message( | |
1015 | + $message = Message::add_message( | |
1016 | 1016 | $request, |
1017 | 1017 | $params['send_user_id'], |
1018 | 1018 | $params['send_to_user_id'], |
... | ... | @@ -1020,7 +1020,7 @@ class WorkerController extends Controller |
1020 | 1020 | file_store_path: "worker/$id" |
1021 | 1021 | ); |
1022 | 1022 | |
1023 | - $data['message_id'] = $id_message; | |
1023 | + $data['message_id'] = $message->id; | |
1024 | 1024 | $data['ad_employer_id'] = $params['send_vacancy']; |
1025 | 1025 | $data['job_title_id'] = $params['send_job_title_id']; |
1026 | 1026 | $data['flag'] = 1; |