diff --git a/syntax.php b/syntax.php index 8354a24..9ac4c34 100644 --- a/syntax.php +++ b/syntax.php @@ -115,10 +115,10 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin { function render($mode, &$renderer, $data) { global $conf; + list($type, $pattern, $params, $title, $pos) = $data; + // disable caching $renderer->info['cache'] = (bool) $params['cache']; - - list($type, $pattern, $params, $title, $pos) = $data; if ($mode == 'xhtml') { $result = $this->_create_filelist($pattern, $params);