Skip to content
2 changes: 1 addition & 1 deletion libraries/src/Helper/ModuleHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ public static function moduleCache($module, $moduleparams, $cacheparams)
$cache = \JFactory::getCache($cacheparams->cachegroup, 'callback');

// Turn cache off for internal callers if parameters are set to off and for all logged in users
if ($moduleparams->get('owncache') === 0 || $moduleparams->get('owncache') === '0' || $conf->get('caching') == 0 || $user->get('id'))
if ($moduleparams->get('owncache') === 0 || $moduleparams->get('owncache') === '0' || $moduleparams->get('cache') === 0 || $moduleparams->get('cache') === '0' || $conf->get('caching') == 0 || $user->get('id'))
{
$cache->setCaching(false);
}
Expand Down