Skip to content

Commit

Permalink
Change DNS validation to default to true instead of false by @brianfr…
Browse files Browse the repository at this point in the history
  • Loading branch information
egulias committed Aug 21, 2014
2 parents 82f8514 + 440bc61 commit 65afaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Egulias/EmailValidator/EmailValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function isValid($email, $checkDNS = false, $strict = false)
return false;
}

$dns = false;
$dns = true;
if ($checkDNS) {
$dns = $this->checkDNS();
}
Expand Down

0 comments on commit 65afaf3

Please sign in to comment.