converter fix

This commit is contained in:
kremsy 2014-02-09 12:23:43 +01:00 committed by Steffen Schröder
parent cb0616db8c
commit 505b84169f

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();