summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-29 14:58:20 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-29 14:58:20 +0100
commit6288c98be0af18ece8d1ae674f65954452005b97 (patch)
treed59dd80f4247db5fef3eacfa314b98abd5b0ea1a
parent2ccdbb3af3cbac35195edd4fe65e946a0c27f70b (diff)
downloadcacert-devel-6288c98be0af18ece8d1ae674f65954452005b97.tar.gz
cacert-devel-6288c98be0af18ece8d1ae674f65954452005b97.tar.xz
cacert-devel-6288c98be0af18ece8d1ae674f65954452005b97.zip
bug 1318: Fix a check for if there were any servers
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
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);
}