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 1031247..4ed4ea5 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -540,10 +540,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);
}