AntonLV %!s(int64=8) %!d(string=hai) anos
pai
achega
63d48cf0bc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      modules/base/general/classes/BxBaseModGeneralModule.php

+ 2 - 2
modules/base/general/classes/BxBaseModGeneralModule.php

@@ -946,7 +946,7 @@ class BxBaseModGeneralModule extends BxDolModule
      */
     public function checkAllowedCommentsView ($aContentInfo, $isPerformAction = false)
     {
-        return CHECK_ACTION_RESULT_ALLOWED;
+        return $this->checkAllowedView ($aContentInfo, $isPerformAction);
     }
 
 	/**
@@ -954,7 +954,7 @@ class BxBaseModGeneralModule extends BxDolModule
      */
     public function checkAllowedCommentsPost ($aContentInfo, $isPerformAction = false)
     {
-        return CHECK_ACTION_RESULT_ALLOWED;
+        return $this->checkAllowedView ($aContentInfo, $isPerformAction);
     }
 
     public function _serviceBrowse ($sMode, $aParams = false, $iDesignBox = BX_DB_PADDING_DEF, $bDisplayEmptyMsg = false, $bAjaxPaginate = true, $sClassSearchResult = 'SearchResult')