Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.2
-
Fix Version/s: 1.10.3
-
Component/s: Zend_Validate
-
Labels:None
Description
The error message is not set when 'mx' is true. More specifically, in Zend_Validate_EmailAddress::_validateMXRecords Zend_Validate_EmailAddress::_error is never called when getmxrr returns false (i.e. when the domain has no mx entry), thus, although the validation fails no error message is set.
This simple patch fixes the issue for me.