فهرست منبع

Ticket #4971 - Build-in API support: Currency sign.

AntonLV 1 سال پیش
والد
کامیت
c2d1c982b5
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      modules/base/groups/classes/BxBaseModGroupsGridPrices.php
  2. 1 1
      modules/boonex/acl/classes/BxAclGridLevels.php

+ 1 - 1
modules/base/groups/classes/BxBaseModGroupsGridPrices.php

@@ -71,7 +71,7 @@ class BxBaseModGroupsGridPrices extends BxTemplGrid
         if((float)$mixedValue != 0) {
             $aCurrency = $this->_oModule->_oConfig->getCurrency();
 
-            $mixedValue = $aCurrency['sign'] . $mixedValue;
+        $mixedValue = html_entity_decode($aCurrency['sign']) . $mixedValue;
         }
         else 
             $mixedValue = _t('_free');

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

@@ -58,7 +58,7 @@ class BxAclGridLevels extends BxTemplGrid
 
         if(!$this->_bIsApi) {
             if((float)$mixedValue != 0)
-                $mixedValue = _t('_bx_acl_grid_column_price_value', $aCurrency['sign'], $mixedValue);
+                $mixedValue = _t('_bx_acl_grid_column_price_value', html_entity_decode($aCurrency['sign']), $mixedValue);
             else 
                 $mixedValue = _t('_bx_acl_txt_free');
         }