From b6504bd7ff2bfd237edfbe2f1479a05698aa6624 Mon Sep 17 00:00:00 2001 From: andi Date: Wed, 26 Jan 2005 22:16:53 +0100 Subject: argh! last try! darcs-hash:20050126211653-9977f-855affbb3d1307f84bb25ce62121f9500606e333.gz --- inc/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') 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); -- cgit v1.2.3