mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for if plan is null
This commit is contained in:
parent
1826ea7db5
commit
8170c395b4
@ -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