Merge pull request #5966 from turbo124/v5-develop
Fixes for if plan is null
This commit is contained in:
commit
512b4d9bdf
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue