[-] FO: Fix bug #PSCFV-10230, Blockspecials still caching when files cache limit is 0

This commit is contained in:
gRoussac
2013-10-24 21:59:32 +02:00
parent 97ef888345
commit 4cd3e1b830
+1 -1
View File
@@ -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)