diff --git a/modules/blockspecials/blockspecials.php b/modules/blockspecials/blockspecials.php index 3be99ed9d..f662ec35f 100644 --- a/modules/blockspecials/blockspecials.php +++ b/modules/blockspecials/blockspecials.php @@ -123,7 +123,7 @@ class BlockSpecials extends Module )); } - return $this->display(__FILE__, 'blockspecials.tpl', $this->getCacheId('blockspecials|'.$random)); + return $this->display(__FILE__, 'blockspecials.tpl', (Configuration::get('BLOCKSPECIALS_NB_CACHES') ? $this->getCacheId('blockspecials|'.$random) : null)); } public function hookLeftColumn($params)