summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-29 15:11:26 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-29 15:11:26 +0100
commit5ebf2d83021655df7e77f870658d8adaddab5330 (patch)
treefd2ab91401a5d684b5693688229e7fb1519df231
parentbdf526bffe8c3bc441b9d3b8c02e3e209457321a (diff)
parent5ea53c50ad1679e808bd0ddd4da92ed88b499a7d (diff)
downloadcacert-devel-5ebf2d83021655df7e77f870658d8adaddab5330.tar.gz
cacert-devel-5ebf2d83021655df7e77f870658d8adaddab5330.tar.xz
cacert-devel-5ebf2d83021655df7e77f870658d8adaddab5330.zip
Merge branch 'bug-1318' into testserver-stable
-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);
}