summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-29 15:08:09 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-29 15:08:09 +0100
commit292ac178bf2ac32834fafc3313fa294dbeae8ecb (patch)
tree5e66916ceb0e37a0e5235ad96a0ccd66eec1fa0a /includes
parent6288c98be0af18ece8d1ae674f65954452005b97 (diff)
downloadcacert-devel-292ac178bf2ac32834fafc3313fa294dbeae8ecb.tar.gz
cacert-devel-292ac178bf2ac32834fafc3313fa294dbeae8ecb.tar.xz
cacert-devel-292ac178bf2ac32834fafc3313fa294dbeae8ecb.zip
bug 1318: Actually sort by priority
Diffstat (limited to 'includes')
-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) {