diff --git a/syntax.php b/syntax.php index 40a4ef4..5a67acc 100644 --- a/syntax.php +++ b/syntax.php @@ -122,7 +122,9 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin { } // disable caching - $renderer->info['cache'] = (bool) $params['cache']; + if ($params['cache'] === 0) { + $renderer->nocache(); + } if ($mode == 'xhtml' || $mode == 'odt') { $result = $this->_create_filelist($pattern, $params);