diff --git a/integration/Geoip.php b/integration/Geoip.php index d4efd7e9c..06ffcf49a 100755 --- a/integration/Geoip.php +++ b/integration/Geoip.php @@ -343,7 +343,7 @@ class Geoip extends Object { $status = true; foreach ($checks as $url => $expectedResponse) { - $response = ip2country($url); + $response = self::ip2country($url); if(!$response && $expectedResponse) { user_error("ip2country_check failed sanity check: ip2country($url) returned false. Expected code: '$expectedResponse'", E_USER_WARNING);