We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 860c028 commit 32d9336Copy full SHA for 32d9336
lib/SmtpValidatorEmail/ValidatorEmail.php
@@ -77,7 +77,7 @@ public function __construct($emails = array(), $sender = '', $options = array())
77
* If not, the class checks for a "catch-all" and if it determines the box
78
* has a "catch-all", sets all the emails on that domain as invalid.
79
*/
80
- if (array_key_exists('catchAllIsValid', $options)) {
+ if (!array_key_exists('catchAllIsValid', $options)) {
81
$options['catchAllIsValid'] = 1;
82
}
83
0 commit comments