summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-29 14:50:31 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-29 14:50:31 +0100
commit2ccdbb3af3cbac35195edd4fe65e946a0c27f70b (patch)
tree69c400c4adad330b1434528201716b27ddb49746
parent285cd754385216cec4292ce74f75f945d267c78d (diff)
downloadcacert-devel-2ccdbb3af3cbac35195edd4fe65e946a0c27f70b.tar.gz
cacert-devel-2ccdbb3af3cbac35195edd4fe65e946a0c27f70b.tar.xz
cacert-devel-2ccdbb3af3cbac35195edd4fe65e946a0c27f70b.zip
bug 1318: Request the array containing the priorities to sort entries propoerly
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php
index 4e57d3c..64322aa 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -540,7 +540,7 @@
list($username,$domain)=explode('@',$email,2);
$mxhosts = array();
$mxweight = array();
- if( !getmxrr($domain, $mxhosts) ) {
+ if( !getmxrr($domain, $mxhosts, $mxweight) ) {
$mxhostrr = array($domain);
$mxweight = array(0);
} else if ( !empty($mxhosts) ) {