mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Small fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
function validIP($ip){
|
||||
return filter_var($secondaryIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) === false;
|
||||
function validIP($address){
|
||||
return filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) === false;
|
||||
}
|
||||
|
||||
// Credit: http://stackoverflow.com/a/4694816/2087442
|
||||
|
||||
Reference in New Issue
Block a user