Commit e3ac493bbdbf02823bc883f5968dcb4911a5af05
1 parent
b994790406
Exists in
master
and in
1 other branch
Коммит - баг с выводом данных работодателя
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
app/Http/Controllers/EmployerController.php
... | ... | @@ -740,7 +740,7 @@ class EmployerController extends Controller |
740 | 740 | // Рассылка сообщений |
741 | 741 | public function send_all_messages() { |
742 | 742 | $id = Auth()->user()->id; |
743 | - $sending = Employer::query()->where('id', '=', "$id")->first(); | |
743 | + $sending = Employer::query()->where('user_id', '=', "$id")->first(); | |
744 | 744 | if ($sending->sending_is) |
745 | 745 | return view('employers.send_all'); |
746 | 746 | else |