summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php
index 778e7d664..4b4ad216c 100644
--- a/inc/pageutils.php
+++ b/inc/pageutils.php
@@ -321,6 +321,11 @@ function localeFN($id){
* @author <bart at mediawave dot nl>
*/
function resolve_id($ns,$id,$clean=true){
+ global $conf;
+
+ // some pre cleaning for useslash:
+ if($conf['useslash']) $id = str_replace('/',':',$id);
+
// if the id starts with a dot we need to handle the
// relative stuff
if($id{0} == '.'){