From 676f30b8ce7fe5369bfdfc2955c920b2c3bf6d51 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 12 Aug 2021 22:07:11 +1000 Subject: [PATCH] Fixes for carbon --- app/Models/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Account.php b/app/Models/Account.php index c31f9550bdd3..54766d341fa9 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -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 ?: '';