fix(vip): allow points renewal for existing members
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -145,10 +145,10 @@ foreach ([1, 2] as $lv) {
|
||||
$cards .= '</div></div>';
|
||||
}
|
||||
|
||||
// Points exchange entry (non-VIP only).
|
||||
// Points exchange entry (available for guests, ordinary users, and VIP renewals/upgrades).
|
||||
$points_html = '';
|
||||
$points_pkgs = is_array($points_exchange['packages'] ?? null) ? $points_exchange['packages'] : [];
|
||||
if ($level <= 0 && !empty($points_exchange['enabled']) && $points_pkgs !== []) {
|
||||
if (!empty($points_exchange['enabled']) && $points_pkgs !== []) {
|
||||
$points_html = '<div class="uc-vip-points-link" data-aksrt-vip-points-modal>'
|
||||
. '<div class="uc-vip-points-link__icon" aria-hidden="true"><i class="fas fa-coins"></i></div>'
|
||||
. '<div class="uc-vip-points-link__body">'
|
||||
|
||||
Reference in New Issue
Block a user