summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-30 19:03:58 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-30 19:03:58 +0100
commit9244bbfbd96e78a71dac48b90e91380e79914082 (patch)
treec1e27bf7a0c1fc3d89e10ec18d888a69d5de0547
parentfd40b4032e0b9181ae2cec871bcae4dcfb88c9fb (diff)
parentb388a866c926be68aeb5a9e5bb28b364fa39ad86 (diff)
downloadcacert-devel-9244bbfbd96e78a71dac48b90e91380e79914082.tar.gz
cacert-devel-9244bbfbd96e78a71dac48b90e91380e79914082.tar.xz
cacert-devel-9244bbfbd96e78a71dac48b90e91380e79914082.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 ef94819..9727374 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -576,7 +576,7 @@
if(preg_match("/^([a-zA-Z0-9])+([a-zA-Z0-9\+\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/" , $email))
{
list($username,$domain)=explode('@',$email,2);
- $mxhosts = array();
+ $mxhostrr = array();
$mxweight = array();
if( !getmxrr($domain, $mxhostrr, $mxweight) ) {
$mxhostrr = array($domain);
@@ -591,7 +591,7 @@
$mx_host = trim($mxhostrr[$i], '.');
$mx_prio = $mxweight[$i];
if(empty($mxhostprio[$mx_prio])) {
- $mxhostprio[$mx_prio] = arraY();
+ $mxhostprio[$mx_prio] = array();
}
$mxhostprio[$mx_prio][] = $mx_host;
}