Skip to content

Commit

Permalink
Slight fix to match current version.
Browse files Browse the repository at this point in the history
  • Loading branch information
danny0838 committed Dec 17, 2011
1 parent 85038ea commit f01b3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/parser/metadata.php
Expand Up @@ -459,7 +459,7 @@ function _getLinkTitle($title, $default, $id=NULL) {
if($title['title']) return '['.$title['title'].']';
} else if (is_null($title) || trim($title)==''){
if (useHeading('content') && $id){
$heading = p_get_first_heading($id,false);
$heading = p_get_first_heading($id,METADATA_DONT_RENDER));
if ($heading) return $heading;
}
return $default;
Expand Down

0 comments on commit f01b3e1

Please sign in to comment.