summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-01-26 21:14:24 +0100
committerandi <andi@splitbrain.org>2005-01-26 21:14:24 +0100
commit62a2236a99c494e904650f158433060647a8799f (patch)
treed371ca64f18dc7a5142c781c3b36504cb665de5c
parent40de37e9d9e2947e039c2df94bf67a2427d746db (diff)
downloadrpg-62a2236a99c494e904650f158433060647a8799f.tar.gz
rpg-62a2236a99c494e904650f158433060647a8799f.tar.bz2
UNDO: undo fix which broke x's in names (silly me)
darcs-hash:20050126201424-9977f-8f4dd0fa186f9c437d21c4d5c886c8ef7d0fddfc.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 8c4b1e830..9d7caf45c 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('#[ !"§$%&()\[\]{}\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id);
+ $id = preg_replace('#[0x00-0x20 !"§$%&()\[\]{}\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id);
//clean up
$id = preg_replace('#__#','_',$id);