From 4cd3e1b8303a3913b064735603d72ce8d2a67d1d Mon Sep 17 00:00:00 2001 From: gRoussac Date: Thu, 24 Oct 2013 21:59:32 +0200 Subject: [PATCH] [-] FO: Fix bug #PSCFV-10230, Blockspecials still caching when files cache limit is 0 --- modules/blockspecials/blockspecials.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)