Can null value
This commit is contained in:
parent
3c670592b9
commit
97afe55923
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class VersionCheck implements ShouldQueue
|
|||
if(!$account)
|
||||
return;
|
||||
|
||||
if($account->plan == 'white_label' && $account->plan_expires->lt(now())){
|
||||
if($account->plan == 'white_label' && $account->plan_expires && $account->plan_expires->lt(now())){
|
||||
$account->plan = null;
|
||||
$account->plan_expires = null;
|
||||
$account->save();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue