diff --git a/Sources/ManageMaintenance.php b/Sources/ManageMaintenance.php index 415e1b2c022..90f8da3c6f4 100644 --- a/Sources/ManageMaintenance.php +++ b/Sources/ManageMaintenance.php @@ -843,7 +843,7 @@ function ConvertEntities() if ($column_name !== $primary_key && strpos($column_value, '&#') !== false) { $changes[] = $column_name . ' = {string:changes_' . $column_name . '}'; - $insertion_variables['changes_' . $column_name] = preg_replace_callback('~&#(\d{1,5}|x[0-9a-fA-F]{1,4});~', 'fixchardb__callback', $column_value); + $insertion_variables['changes_' . $column_name] = preg_replace_callback('~&#(\d{1,7}|x[0-9a-fA-F]{1,6});~', 'fixchardb__callback', $column_value); } $where = array();