Fixes for carbon
This commit is contained in:
parent
b33ad0c03e
commit
676f30b8ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue