From bb0a59d46949357f85e4a8deabff585e56b906e5 Mon Sep 17 00:00:00 2001 From: jan Date: Sat, 16 Apr 2005 23:14:22 +0200 Subject: Support for useheading with new parser darcs-hash:20050416211422-45605-fe8c790a6b317dc9c35a63d78c6367248cc01045.gz --- inc/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/common.php') diff --git a/inc/common.php b/inc/common.php index 74dc13cea..b44255c34 100644 --- a/inc/common.php +++ b/inc/common.php @@ -131,7 +131,7 @@ function breadcrumbs(){ $name = noNS($ID); if ($conf['useheading']) { // get page title - $title = getFirstHeading(io_readFile($file)); + $title = p_get_first_heading($ID); if ($title) { $name = $title; } -- cgit v1.2.3