summaryrefslogtreecommitdiff
path: root/includes/general.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/general.php')
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php
index 480c6d1..f7b50f5 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -581,7 +581,7 @@
if( !getmxrr($domain, $mxhosts, $mxweight) ) {
$mxhostrr = array($domain);
$mxweight = array(0);
- } else if ( !empty($mxhosts) ) {
+ } else if ( empty($mxhosts) ) {
$mxhostrr = array($domain);
$mxweight = array(0);
}