bug 1186: Missing argument is missing.
authorBenny Baumann <BenBE@geshi.org>
Tue, 2 Jul 2013 22:46:20 +0000 (00:46 +0200)
committerBenny Baumann <BenBE@geshi.org>
Tue, 2 Jul 2013 22:46:20 +0000 (00:46 +0200)
includes/general.php

index abc8611..9ffca9d 100644 (file)
                                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)
                        {