diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php index 0c99390..07a1a6a 100644 --- a/app/Http/Controllers/EmployerController.php +++ b/app/Http/Controllers/EmployerController.php @@ -867,7 +867,9 @@ class EmployerController extends Controller 'autosend_tg' => $vacancy['autosend_tg'] === 'true', ]; - if ($vacancy['autolift_site'] === 'true') { + $adEmployer = Ad_employer::query()->find($vacancy['id']); + + if ($vacancy['autolift_site'] === 'true' && !$adEmployer->autolift_site) { $data['updated_at'] = now(); }