From 6288c98be0af18ece8d1ae674f65954452005b97 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 29 Nov 2014 14:58:20 +0100 Subject: bug 1318: Fix a check for if there were any servers --- includes/general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/general.php b/includes/general.php index 64322aa..065daaa 100644 --- a/includes/general.php +++ b/includes/general.php @@ -543,7 +543,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); } -- cgit v1.2.1