summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/common.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index e1ccb94b5..7a74ceb99 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -447,7 +447,11 @@ function cleanID($id){
//alternative namespace seperator
$id = strtr($id,';',':');
- if($conf['useslash']) $id = strtr($id,'/',':');
+ if($conf['useslash']){
+ $id = strtr($id,'/',':');
+ }else{
+ $id = strtr($id,'/','_');
+ }
if($conf['deaccent']) $id = utf8_deaccent($id,-1);