diff options
author | Benny Baumann <BenBE@geshi.org> | 2014-11-29 15:08:09 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2014-11-29 15:08:09 +0100 |
commit | 292ac178bf2ac32834fafc3313fa294dbeae8ecb (patch) | |
tree | 5e66916ceb0e37a0e5235ad96a0ccd66eec1fa0a | |
parent | 6288c98be0af18ece8d1ae674f65954452005b97 (diff) | |
download | cacert-devel-292ac178bf2ac32834fafc3313fa294dbeae8ecb.tar.gz cacert-devel-292ac178bf2ac32834fafc3313fa294dbeae8ecb.tar.xz cacert-devel-292ac178bf2ac32834fafc3313fa294dbeae8ecb.zip |
bug 1318: Actually sort by priority
-rw-r--r-- | includes/general.php | 1 |
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) { |