mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for carbon
This commit is contained in:
parent
b33ad0c03e
commit
676f30b8ce
@ -134,7 +134,7 @@ class Account extends BaseModel
|
||||
|
||||
public function getPlan()
|
||||
{
|
||||
if(Carbon\Carbon::parse($this->plan_expires)->lt(now()))
|
||||
if(Carbon::parse($this->plan_expires)->lt(now()))
|
||||
return '';
|
||||
|
||||
return $this->plan ?: '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user