From 08d97344576a1ca2a59cc846e396a0ea20d08605 Mon Sep 17 00:00:00 2001 From: andi Date: Wed, 16 Feb 2005 17:47:48 +0100 Subject: spanish special chars removed in cleanID (#152) darcs-hash:20050216164748-9977f-97cdf756765478b1d7622b939fa8680335e71b0a.gz --- inc/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/common.php b/inc/common.php index 7a74ceb99..8c94f44c6 100644 --- a/inc/common.php +++ b/inc/common.php @@ -456,7 +456,7 @@ function cleanID($id){ if($conf['deaccent']) $id = utf8_deaccent($id,-1); //remove specials (only ascii specials are removed) - $id = preg_replace('#[\x00-\x20 !"§$%&()\[\]{}\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id); + $id = preg_replace('#[\x00-\x20 ¡!"§$%&()\[\]{}¿\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id); //clean up $id = preg_replace('#__#','_',$id); -- cgit v1.2.3