summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-29 15:08:22 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-29 15:08:22 +0100
commitbdf526bffe8c3bc441b9d3b8c02e3e209457321a (patch)
tree23a57923e761b6d0d15f92ced54fd5bd61323a67
parent814306e395e9f6039992d67c088854b8f0785996 (diff)
parent292ac178bf2ac32834fafc3313fa294dbeae8ecb (diff)
downloadcacert-devel-bdf526bffe8c3bc441b9d3b8c02e3e209457321a.tar.gz
cacert-devel-bdf526bffe8c3bc441b9d3b8c02e3e209457321a.tar.xz
cacert-devel-bdf526bffe8c3bc441b9d3b8c02e3e209457321a.zip
Merge branch 'bug-1318' into testserver-stable
-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) {