Merge pull request #5966 from turbo124/v5-develop

Fixes for if plan is null
This commit is contained in:
David Bomba 2021-06-08 22:17:35 +10:00 committed by GitHub
commit 512b4d9bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()