Index: branches/5.1.x/core/units/helpers/modules_helper.php =================================================================== diff -u -N -r14241 -r14348 --- branches/5.1.x/core/units/helpers/modules_helper.php (.../modules_helper.php) (revision 14241) +++ branches/5.1.x/core/units/helpers/modules_helper.php (.../modules_helper.php) (revision 14348) @@ -1,6 +1,6 @@ Application->ConfigValue('DomainDetect') ? $_SERVER['HTTP_HOST'] : $config_domain; + return isset($vars['Domain']) ? $vars['Domain'] : false; } function _keyED($txt, $encrypt_key)