diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-12-03 00:08:14 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-12-03 00:08:14 +0100 |
commit | b814e978ddb3bb9f05058fb684e2394dd2bf8eb5 (patch) | |
tree | ccfb23900142f6d3938d9712a3796bb5cbd20d77 /inc | |
parent | 8fed17ed0ecc7e7c3b51762e09d88280a17a33cd (diff) | |
download | rpg-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')
-rw-r--r-- | inc/actions.php | 2 |
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; } |