diff --git a/app/Http/Controllers/CompanyController.php b/app/Http/Controllers/CompanyController.php index 78130ef55419..c780d66f3007 100644 --- a/app/Http/Controllers/CompanyController.php +++ b/app/Http/Controllers/CompanyController.php @@ -232,7 +232,7 @@ class CompanyController extends BaseController 'notifications' => CompanySettings::notificationDefaults(), ]); - if(auth()->user()->company()->account->companies()->where('is_large', 1)->exists()) + if($company->account->companies()->where('is_large', 1)->exists()) { $company->account->companies()->update(['is_large' => true]); }