We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 860c028 + 32d9336 commit 620514aCopy full SHA for 620514a
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