summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-29 15:11:15 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-29 15:11:15 +0100
commit5ea53c50ad1679e808bd0ddd4da92ed88b499a7d (patch)
tree61b490d1534551b6f94083fddac4d74b6c05b12f /includes
parent292ac178bf2ac32834fafc3313fa294dbeae8ecb (diff)
downloadcacert-devel-5ea53c50ad1679e808bd0ddd4da92ed88b499a7d.tar.gz
cacert-devel-5ea53c50ad1679e808bd0ddd4da92ed88b499a7d.tar.xz
cacert-devel-5ea53c50ad1679e808bd0ddd4da92ed88b499a7d.zip
bug 1318: typo in variable names
Diffstat (limited to 'includes')
-rw-r--r--includes/general.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/general.php b/includes/general.php
index 1031247..4ed4ea5 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -540,10 +540,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);
}