mirror of
https://github.com/elyby/php-tempmailbuster.git
synced 2025-05-31 14:11:41 +05:30
Strict comparison
This commit is contained in:
@ -51,7 +51,7 @@ class TempMailBuster
|
||||
|
||||
$blacklistRegex = $this->buildRegex($blacklist->getItems());
|
||||
$match = !!preg_match($blacklistRegex, $domain);
|
||||
if ($match == $this->isWhitelistMode) {
|
||||
if ($match === $this->isWhitelistMode) {
|
||||
return !$this->isWhitelistMode;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user