Skip to content

Commit

Permalink
Update StringFilter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayIterator authored Nov 18, 2023
1 parent e85252f commit 2a503ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/Filter/StringFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public static function filterEmailCommon(
}

// if validate DNS
if ($validateDNSSR === true && !@checkdnsrr($explode[0])) {
if ($validateDNSSR === true && !@checkdnsrr($explode[1])) {
return false;
}

Expand Down

0 comments on commit 2a503ae

Please sign in to comment.