summaryrefslogtreecommitdiff
path: root/inc/parserutils.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-27 20:28:37 +0200
committerandi <andi@splitbrain.org>2005-04-27 20:28:37 +0200
commit6e38d921735908d9d6597c57e94e967e47770bf4 (patch)
tree5ba426b7cdded0be2753f49f5264ad965e0fbdc6 /inc/parserutils.php
parent2cd2db38e844b55a35cbbbf800835d6b84531308 (diff)
downloadrpg-6e38d921735908d9d6597c57e94e967e47770bf4.tar.gz
rpg-6e38d921735908d9d6597c57e94e967e47770bf4.tar.bz2
always use cache version for useheading
darcs-hash:20050427182837-9977f-c27ffa0d48b7592d1870da5dce3cf401a18d2476.gz
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r--inc/parserutils.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php
index a9b425e60..3c7803b16 100644
--- a/inc/parserutils.php
+++ b/inc/parserutils.php
@@ -260,10 +260,10 @@ function p_render($mode,$instructions){
function p_get_first_heading($id){
$file = wikiFN($id);
if (@file_exists($file)) {
- $instructions = p_cached_instructions($file);
+ $instructions = p_cached_instructions($file,true);
foreach ( $instructions as $instruction ) {
if ($instruction[0] == 'header') {
- return $instruction[1][0];
+ return $instruction[1][0];
}
}
}