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