summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-07-03 00:46:20 +0200
committerBenny Baumann <BenBE@geshi.org>2013-07-03 00:46:20 +0200
commitf02230050eeab6ece6f4282fd475411ea1f5b45f (patch)
tree69dd1c74b44622390c299b24436e8d28b61d891d
parent17e83d655a754586d9f0f249aefca6f0af0beee4 (diff)
downloadcacert-devel-f02230050eeab6ece6f4282fd475411ea1f5b45f.tar.gz
cacert-devel-f02230050eeab6ece6f4282fd475411ea1f5b45f.tar.xz
cacert-devel-f02230050eeab6ece6f4282fd475411ea1f5b45f.zip
bug 1186: Missing argument is missing.
-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)
{