diff options
author | andi <andi@splitbrain.org> | 2005-02-16 17:47:48 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-02-16 17:47:48 +0100 |
commit | 08d97344576a1ca2a59cc846e396a0ea20d08605 (patch) | |
tree | 85a6181f3b2edb77228b0445bd23817b3a152608 | |
parent | 3021e063ac046276d21e77ebd7dea22bb49f12c4 (diff) | |
download | rpg-08d97344576a1ca2a59cc846e396a0ea20d08605.tar.gz rpg-08d97344576a1ca2a59cc846e396a0ea20d08605.tar.bz2 |
spanish special chars removed in cleanID (#152)
darcs-hash:20050216164748-9977f-97cdf756765478b1d7622b939fa8680335e71b0a.gz
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |