1
0
roman.lesnikov@gmail.com 3 жил өмнө
parent
commit
6e4d921212

+ 3 - 0
inc/classes/BxDolDb.php

@@ -1327,6 +1327,9 @@ BxDolDb::getInstance();
 
 function getParam($sParamName, $bUseCache = true)
 {
+    if (bx_is_api())
+        return true;
+    
     $oObj = BxDolDb::getInstance();
     if ($oObj === null)
         return false;