fix handling of caching parameter

This commit is contained in:
Andreas Gohr
2014-05-26 14:29:16 +02:00
parent cedaaa981a
commit e09b6b93a1

View File

@@ -115,10 +115,10 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin {
function render($mode, &$renderer, $data) { function render($mode, &$renderer, $data) {
global $conf; global $conf;
list($type, $pattern, $params, $title, $pos) = $data;
// disable caching // disable caching
$renderer->info['cache'] = (bool) $params['cache']; $renderer->info['cache'] = (bool) $params['cache'];
list($type, $pattern, $params, $title, $pos) = $data;
if ($mode == 'xhtml') { if ($mode == 'xhtml') {
$result = $this->_create_filelist($pattern, $params); $result = $this->_create_filelist($pattern, $params);