From 8170c395b45575671812b064bff86837f3ebf4d3 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 8 Jun 2021 22:17:19 +1000 Subject: [PATCH] Fixes for if plan is null --- app/Models/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Account.php b/app/Models/Account.php index 79ec7439a69b..268317681fa7 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -207,7 +207,7 @@ class Account extends BaseModel return false; } - return $this->plan == 'free'; + return $this->plan == 'free' || is_null($this->plan); } public function isEnterpriseClient()