mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #5966 from turbo124/v5-develop
Fixes for if plan is null
This commit is contained in:
commit
512b4d9bdf
@ -207,7 +207,7 @@ class Account extends BaseModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->plan == 'free';
|
return $this->plan == 'free' || is_null($this->plan);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isEnterpriseClient()
|
public function isEnterpriseClient()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user