From 2ccdbb3af3cbac35195edd4fe65e946a0c27f70b Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 29 Nov 2014 14:50:31 +0100 Subject: bug 1318: Request the array containing the priorities to sort entries propoerly --- includes/general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ) { -- cgit v1.2.1