bug 1318: Variable name typo
authorBenny Baumann <BenBE@geshi.org>
Sun, 30 Nov 2014 17:57:09 +0000 (18:57 +0100)
committerBenny Baumann <BenBE@geshi.org>
Sun, 30 Nov 2014 17:57:09 +0000 (18:57 +0100)
includes/general.php

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