From 292ac178bf2ac32834fafc3313fa294dbeae8ecb Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 29 Nov 2014 15:08:09 +0100 Subject: bug 1318: Actually sort by priority --- includes/general.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/general.php b/includes/general.php index 065daaa..1031247 100644 --- a/includes/general.php +++ b/includes/general.php @@ -559,6 +559,7 @@ } array_walk($mxhostprio, function(&$mx) { shuffle($mx); } ); + ksort($mxhostprio); $mxhosts = array(); foreach($mxhostprio as $mx_prio => $mxhostnames) { -- cgit v1.2.1