AntonLV 6 лет назад
Родитель
Сommit
854dc4ef10
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/boonex/acl/classes/BxAclGridView.php

+ 1 - 1
modules/boonex/acl/classes/BxAclGridView.php

@@ -25,7 +25,7 @@ class BxAclGridView extends BxAclGridLevels
         $this->_iOwner = $this->_oModule->_oConfig->getOwner();
         $this->_oPayment = BxDolPayments::getInstance();
         $this->_bTypeSingle = $this->_oPayment->isAcceptingPayments($this->_iOwner, BX_PAYMENT_TYPE_SINGLE);
-        $this->_bTypeRecurring = $this->_oPayment->isAcceptingPayments($this->_iOwner, BX_PAYMENT_TYPE_RECURRING);
+        $this->_bTypeRecurring = !$this->_oPayment->isCreditsOnly() && $this->_oPayment->isAcceptingPayments($this->_iOwner, BX_PAYMENT_TYPE_RECURRING);
     }
 
     public function performActionChoose()