mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Use premade var rather than spec in another way
This commit is contained in:
@@ -147,7 +147,7 @@ function toUTF8noBOM($string,$message) {
|
||||
}
|
||||
}
|
||||
// Remove any other BOMs from view
|
||||
$string = preg_replace('/\x{EF}\x{BB}\x{BF}/','',$string);
|
||||
$string = preg_replace('/'.$bom.'/','',$string);
|
||||
|
||||
// Test for any bad characters
|
||||
$teststring = $string;
|
||||
|
||||
Reference in New Issue
Block a user