Merge branch 'bug-1318' into testserver-stable
[cacert-devel.git] / includes / general.php
index f7b50f5..70031f4 100644 (file)
                        }
 
                        array_walk($mxhostprio, function(&$mx) { shuffle($mx); } );
+                       ksort($mxhostprio);
 
                        $mxhosts = array();
                        foreach($mxhostprio as $mx_prio => $mxhostnames) {