converter fix

This commit is contained in:
kremsy
2014-05-01 17:35:15 +02:00
committed by Steffen Schröder
parent cb0616db8c
commit 505b84169f
+1 -1
View File
@@ -145,7 +145,7 @@ class DatabaseConverter {
//Loop through all the players
while($row = $result->fetch_object()) {
//Strip links and dirty codes
$name = preg_replace('/(?<!\$)((?:\$\$)*)\$[hlp](?:\[.*?\])?(.*?)(?:\$[hlp]|(\$z)|$)/iu', '$1$2$3', $row->name);
$name = preg_replace('/(?<!\$)((?:\$\$)*)\$[hlp](?:\[.*?\])?(.*?)(?:\$[hlp]|(\$z)|$)/iu', '$1$2$3', $row->Name);
$name = preg_replace('/(?<!\$)((?:\$\$)*)\$[ow<>]/iu', '$1', $name);
$statement->bind_param('ssss', $row->Uid, $name, $row->Author, $row->Environment);
$statement->execute();