diff --git a/app/Models/Account.php b/app/Models/Account.php index 8b0c07dbfd0b..c31f9550bdd3 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -134,6 +134,9 @@ class Account extends BaseModel public function getPlan() { + if(Carbon\Carbon::parse($this->plan_expires)->lt(now())) + return ''; + return $this->plan ?: ''; }