bug 1318: typo in variable names
authorBenny Baumann <BenBE@geshi.org>
Sat, 29 Nov 2014 14:11:15 +0000 (15:11 +0100)
committerBenny Baumann <BenBE@geshi.org>
Sat, 29 Nov 2014 14:11:15 +0000 (15:11 +0100)
includes/general.php

index 1031247..4ed4ea5 100644 (file)
                        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);
                        }