diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-10-11 11:24:26 +0200 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-10-11 11:27:23 +0200 |
commit | 37c1acbdeda6af9ade16d4063188587ff924cd8d (patch) | |
tree | 53cda9df7858be15d67e0325676473ed4857cc53 /inc | |
parent | 987193f7b3dac995639665a40417605750081966 (diff) | |
download | rpg-37c1acbdeda6af9ade16d4063188587ff924cd8d.tar.gz rpg-37c1acbdeda6af9ade16d4063188587ff924cd8d.tar.bz2 |
Correctly handle non-default sepchars in page templates (FS#2057)
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
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@', |