diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index db0e741d91..fb0258996c 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2746,7 +2746,7 @@ function phpbb_checkdnsrr($host, $type = '') } else if (function_exists('checkdnsrr')) { - return (checkdnsrr($domain, $type)) ? true : false; + return (checkdnsrr($host, $type)) ? true : false; } return NULL;