summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) ) {