bug 1318: Actually sort by priority
authorBenny Baumann <BenBE@geshi.org>
Sat, 29 Nov 2014 14:08:09 +0000 (15:08 +0100)
committerBenny Baumann <BenBE@geshi.org>
Sat, 29 Nov 2014 14:08:09 +0000 (15:08 +0100)
includes/general.php

index 065daaa..1031247 100644 (file)
                        }
 
                        array_walk($mxhostprio, function(&$mx) { shuffle($mx); } );
+                       ksort($mxhostprio);
 
                        $mxhosts = array();
                        foreach($mxhostprio as $mx_prio => $mxhostnames) {