summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorjan <jan@jandecaluwe.com>2005-04-16 23:14:22 +0200
committerjan <jan@jandecaluwe.com>2005-04-16 23:14:22 +0200
commitbb0a59d46949357f85e4a8deabff585e56b906e5 (patch)
treebcf6edeffa67a964dd7feb719070228e0a3b4189 /inc/common.php
parented630903385ab3b86504e21851a3ca0c4dea2414 (diff)
downloadrpg-bb0a59d46949357f85e4a8deabff585e56b906e5.tar.gz
rpg-bb0a59d46949357f85e4a8deabff585e56b906e5.tar.bz2
Support for useheading with new parser
darcs-hash:20050416211422-45605-fe8c790a6b317dc9c35a63d78c6367248cc01045.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
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;
}