fix call to static method
This commit is contained in:
Pascal
2019-04-29 23:39:10 +02:00
parent 9aa0de16be
commit c4c7f4b636

View File

@@ -174,7 +174,7 @@ class Data
$ip = substr($ip, 0, strpos($ip, ':'));
}
if (validate_ip($ip, true) !== false) {
if (\Froxlor\Validate\Validate::validate_ip2($ip, true) !== false) {
return true;
} else {
return false;