summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-12-03 00:08:14 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-12-03 00:08:14 +0100
commitb814e978ddb3bb9f05058fb684e2394dd2bf8eb5 (patch)
treeccfb23900142f6d3938d9712a3796bb5cbd20d77 /inc/actions.php
parent8fed17ed0ecc7e7c3b51762e09d88280a17a33cd (diff)
downloadrpg-b814e978ddb3bb9f05058fb684e2394dd2bf8eb5.tar.gz
rpg-b814e978ddb3bb9f05058fb684e2394dd2bf8eb5.tar.bz2
provide also $ID in other export modes to renderer
Simplifies modifying the cache via an action plugin
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php
index ef09a0dc7..2953c0e79 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -644,7 +644,7 @@ function act_export($act){
$output = p_wiki_xhtml($ID,$REV,false);
break;
default:
- $output = p_cached_output(wikiFN($ID,$REV), $mode);
+ $output = p_cached_output(wikiFN($ID,$REV), $mode, $ID);
$headers = p_get_metadata($ID,"format $mode");
break;
}