Skip to content

Commit 500177a

Browse files
committed
MAGETWO-49820: Can't register customer if customer attribute is required but not visible (#3457)
1 parent 334db5c commit 500177a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Eav/Model/Attribute/Data/AbstractData.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,7 @@ protected function _validateInputRule($value)
364364
__("'%value%' appears to be a DNS hostname but cannot extract TLD part")
365365
__("'%value%' appears to be a DNS hostname but cannot match TLD against known list")
366366
*/
367-
$validator = new \Zend_Validate_EmailAddress(
368-
['allow' => ['allow' => \Zend_Validate_Hostname::ALLOW_ALL, 'tld' => false]]
369-
);
367+
$validator = new \Zend_Validate_EmailAddress();
370368
$validator->setMessage(
371369
__('"%1" invalid type entered.', $label),
372370
\Zend_Validate_EmailAddress::INVALID

0 commit comments

Comments
 (0)