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 3b43bea commit 378c074Copy full SHA for 378c074
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\d]){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