Skip to content
Snippets Groups Projects
Commit 6e38d921 authored by andi's avatar andi
Browse files

always use cache version for useheading

darcs-hash:20050427182837-9977f-c27ffa0d48b7592d1870da5dce3cf401a18d2476.gz
parent 2cd2db38
No related branches found
No related tags found
No related merge requests found
......@@ -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];
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment