diff options
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/common.php b/inc/common.php index 42fcf82c3..dddb231cf 100644 --- a/inc/common.php +++ b/inc/common.php @@ -415,8 +415,7 @@ function cleanID($id){ $id = strtr($id,';',':'); if($conf['useslash']) $id = strtr($id,'/',':'); - //FIXME use config to ask for deaccenting - $id = utf8_deaccent($id,-1); + if($conf['deaccent']) $id = utf8_deaccent($id,-1); //remove specials (only ascii specials are removed) $id = preg_replace('#[ !"§$%&()\[\]{}\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id); |