Skip to content

Commit

Permalink
Merge pull request #17 from brianfreytag/remove_dns_requirement
Browse files Browse the repository at this point in the history
Change DNS validation to default to true instead of false
  • Loading branch information
egulias committed Aug 21, 2014
2 parents bb530a1 + a96f082 commit 440bc61
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 440bc61

Please sign in to comment.