Gifts: Return the ability to send gifts to those who did not have them

This commit is contained in:
Maxim Leshchenko 2021-12-21 17:25:03 +02:00
parent 8479ae5e70
commit c75ce513a0
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE

View file

@ -91,6 +91,8 @@
</a>
{/if}
<a n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce'] && $user->getGiftCount() == 0" href="/gifts?act=pick&user={$user->getId()}" class="profile_link">{_send_gift}</a>
{var subStatus = $user->getSubscriptionStatus($thisUser)}
{if $subStatus === 0}
<form action="/setSub/user" method="post" class="profile_link_form">