From 2a503ae77b7e7b7facef6e8ff90e19f00c5a3d7a Mon Sep 17 00:00:00 2001 From: ArrayIterator <37867551+ArrayIterator@users.noreply.github.com> Date: Sat, 18 Nov 2023 22:40:19 +0700 Subject: [PATCH] Update StringFilter.php --- src/Util/Filter/StringFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Filter/StringFilter.php b/src/Util/Filter/StringFilter.php index f1c3592..433c0e1 100644 --- a/src/Util/Filter/StringFilter.php +++ b/src/Util/Filter/StringFilter.php @@ -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; }