summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-01-26 22:16:53 +0100
committerandi <andi@splitbrain.org>2005-01-26 22:16:53 +0100
commitb6504bd7ff2bfd237edfbe2f1479a05698aa6624 (patch)
tree24aa337b0c2b85cf2b33b5ae9c21311482b073d3
parent62a2236a99c494e904650f158433060647a8799f (diff)
downloadrpg-b6504bd7ff2bfd237edfbe2f1479a05698aa6624.tar.gz
rpg-b6504bd7ff2bfd237edfbe2f1479a05698aa6624.tar.bz2
argh! last try!
darcs-hash:20050126211653-9977f-855affbb3d1307f84bb25ce62121f9500606e333.gz
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index 9d7caf45c..832352d3c 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -418,7 +418,7 @@ function cleanID($id){
if($conf['deaccent']) $id = utf8_deaccent($id,-1);
//remove specials (only ascii specials are removed)
- $id = preg_replace('#[0x00-0x20 !"§$%&()\[\]{}\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id);
+ $id = preg_replace('#[\x00-\x20 !"§$%&()\[\]{}\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id);
//clean up
$id = preg_replace('#__#','_',$id);