diff --git a/libraries/src/Helper/ModuleHelper.php b/libraries/src/Helper/ModuleHelper.php index 8e398e3ca95e3..4c93ac5dcaeb0 100644 --- a/libraries/src/Helper/ModuleHelper.php +++ b/libraries/src/Helper/ModuleHelper.php @@ -535,7 +535,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', null) === '0' || $conf->get('caching') == 0 || $user->get('id')) + if ($moduleparams->get('owncache') === 0 || $moduleparams->get('owncache') === '0' || $conf->get('caching') == 0 || $user->get('id')) { $cache->setCaching(false); }