summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-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];
}
}
}