Updated: Changes for PHP 8.x compatibility
This commit is contained in:
@@ -263,6 +263,10 @@ class AddressFormatCore extends ObjectModel
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($formattedValueList[$key])) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($formattedValue = preg_replace('/^'.$key.'$/', $formattedValueList[$key], $replacedValue, -1, $count)) {
|
||||
if ($count) {
|
||||
// Allow to check multiple key in the same pattern,
|
||||
|
||||
Reference in New Issue
Block a user