From 98b1d854f934ea332be220141801ede1a6fdcbf7 Mon Sep 17 00:00:00 2001 From: slawkens Date: Wed, 30 Dec 2020 00:24:14 +0100 Subject: [PATCH] Refactor some line --- system/pages/accountmanagement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/pages/accountmanagement.php b/system/pages/accountmanagement.php index eaf402d9..5b53c40f 100644 --- a/system/pages/accountmanagement.php +++ b/system/pages/accountmanagement.php @@ -64,12 +64,12 @@ $errors = array(); /** * @var OTS_Account $account_logged */ - $recovery_key = $account_logged->getCustomField('key'); if(!$account_logged->isPremium()) $account_status = 'Free Account'; else $account_status = 'Premium Account, ' . ($freePremium ? 'Unlimited' : $account_logged->getPremDays() . ' days left') . ''; + $recovery_key = $account_logged->getCustomField('key'); if(empty($recovery_key)) $account_registered = 'No'; else