summaryrefslogtreecommitdiff
path: root/includes/general.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/general.php')
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php
index abc8611..9ffca9d 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -550,7 +550,7 @@
list($pri, $mxhosts[]) = explode(" ", trim($row), 2);
}
$mxhosts[] = $domain;
- array_walk($mxhosts, function(&$mx) { $mx = trim($mx); } );
+ array_walk($mxhosts, function(&$mx) { $mx = trim($mx, '.'); } );
foreach($mxhosts as $key => $domain)
{