From 37c1acbdeda6af9ade16d4063188587ff924cd8d Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Mon, 11 Oct 2010 11:24:26 +0200 Subject: Correctly handle non-default sepchars in page templates (FS#2057) --- 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 6af7f49de..3e760419f 100644 --- a/inc/common.php +++ b/inc/common.php @@ -843,7 +843,7 @@ function parsePageTemplate(&$data) { // replace placeholders $file = noNS($id); - $page = strtr($file,'_',' '); + $page = strtr($file, $conf['sepchar'], ' '); $tpl = str_replace(array( '@ID@', -- cgit v1.2.3