Strict comparison

This commit is contained in:
ErickSkrauch 2016-04-28 23:52:41 +03:00
parent e78a2ccd84
commit 9939ee72b2

View File

@ -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;
}