We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc9a5cb commit e4d89b6Copy full SHA for e4d89b6
1 file changed
class.IP2LocationAPI.php
@@ -36,7 +36,7 @@ public function __construct($apiKey = '', $package = 'WS24', $useSSL = false)
36
37
public function query($ip)
38
{
39
- if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
+ if (!filter_var($ip, FILTER_VALIDATE_IP)) {
40
return false;
41
}
42
0 commit comments