converter fix
This commit is contained in:
parent
cb0616db8c
commit
505b84169f
@ -145,7 +145,7 @@ class DatabaseConverter {
|
|||||||
//Loop through all the players
|
//Loop through all the players
|
||||||
while($row = $result->fetch_object()) {
|
while($row = $result->fetch_object()) {
|
||||||
//Strip links and dirty codes
|
//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);
|
$name = preg_replace('/(?<!\$)((?:\$\$)*)\$[ow<>]/iu', '$1', $name);
|
||||||
$statement->bind_param('ssss', $row->Uid, $name, $row->Author, $row->Environment);
|
$statement->bind_param('ssss', $row->Uid, $name, $row->Author, $row->Environment);
|
||||||
$statement->execute();
|
$statement->execute();
|
||||||
|
Loading…
Reference in New Issue
Block a user