summaryrefslogtreecommitdiff
path: root/includes/general.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/general.php')
-rw-r--r--includes/general.php1
1 files changed, 1 insertions, 0 deletions
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) {