summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/general.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/general.php b/includes/general.php
index 70031f4..940d3c6 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -578,10 +578,10 @@
list($username,$domain)=explode('@',$email,2);
$mxhosts = array();
$mxweight = array();
- if( !getmxrr($domain, $mxhosts, $mxweight) ) {
+ if( !getmxrr($domain, $mxhostrr, $mxweight) ) {
$mxhostrr = array($domain);
$mxweight = array(0);
- } else if ( empty($mxhosts) ) {
+ } else if ( empty($mxhostrr) ) {
$mxhostrr = array($domain);
$mxweight = array(0);
}