git-svn-id: file:///svn/phpbb/trunk@6933 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann 2007-01-26 19:56:33 +00:00
parent 5bb75c590d
commit 9ebe6b6b1f

View file

@ -1240,7 +1240,7 @@ function utf8_clean_string($text)
$text = strtr($text, $homographs); $text = strtr($text, $homographs);
// Other control characters // Other control characters
$text = preg_replace('#(?:[\x00-\x1F\x7F]+|(?:\xC2[\x80-\x9F])+)#', '', $text) $text = preg_replace('#(?:[\x00-\x1F\x7F]+|(?:\xC2[\x80-\x9F])+)#', '', $text);
return $text; return $text;
} }