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 f7b50f5..70031f4 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -597,6 +597,7 @@
}
array_walk($mxhostprio, function(&$mx) { shuffle($mx); } );
+ ksort($mxhostprio);
$mxhosts = array();
foreach($mxhostprio as $mx_prio => $mxhostnames) {