summaryrefslogtreecommitdiff
path: root/it_mail.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_mail.class')
-rw-r--r--it_mail.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class
index ea63aba..26ba883 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -430,7 +430,7 @@ function check_email($email, $checkmailbox = true)
}
}
- if ($mxhosts) /* We need at least one valid MX */
+ if (array_filter($mxhosts)) /* We need at least one valid MX */
{
if ($checkmailbox)
{