We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c9768 commit b0cd59bCopy full SHA for b0cd59b
app/code/Magento/Customer/Model/Validator/Name.php
@@ -47,7 +47,7 @@ public function isValid($customer)
47
private function isValidName($nameValue)
48
{
49
if ($nameValue != null) {
50
- $pattern = '/(?:[\p{L}\p{M}\,\-\.\'\s]){1,255}+/u';
+ $pattern = '/(?:[\p{L}\p{M}\,\-\.\'\s\d]){1,255}+/u';
51
if (preg_match($pattern, $nameValue, $matches)) {
52
return $matches[0] == $nameValue;
53
}
0 commit comments