From 8b709e9deb31ed5cbdc62de04f539b5b56271341 Mon Sep 17 00:00:00 2001 From: andi Date: Sun, 23 Jan 2005 21:14:06 +0100 Subject: deaccenting config darcs-hash:20050123201406-9977f-68b7ed58d460af96a0a076d973aa4f2568fb28b8.gz --- inc/common.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inc') 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); -- cgit v1.2.3