fix handling of caching parameter
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user