aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/page.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/page.php b/mod/page.php
index ae572ca1e..d4aefc1cd 100644
--- a/mod/page.php
+++ b/mod/page.php
@@ -91,6 +91,9 @@ function page_init(&$a) {
return;
}
+ if($r[0]['title'])
+ $a->page['title'] = escape_tags($r[0]['title']);
+
if($r[0]['item_type'] == ITEM_TYPE_PDL) {
require_once('include/comanche.php');
comanche_parser(get_app(),$r[0]['body']);