From 30d52bd4d3bd82302211b627f854b0d8efc7c817 Mon Sep 17 00:00:00 2001 From: sbulen Date: Sun, 13 Dec 2020 19:42:01 -0800 Subject: [PATCH] Too small; make consistent with other calls Signed by Shawn Bulen, bulens@pacbell.net --- Sources/ManageMaintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ManageMaintenance.php b/Sources/ManageMaintenance.php index 1a4dabfc9d..ef7fb6b992 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();