diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-07 20:29:23 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-07 20:29:23 +0200 |
commit | 3427797a2899506adbe5317671fe0b3c27c2a6a6 (patch) | |
tree | 199fd08da90a1e37f5c7f4d75e4af957dc5e7278 /system/core/Input.php | |
parent | 968690491f625ddf59a5136b55ae1b9a2cf98a9a (diff) | |
parent | 25d47aec0417e52af43985663ebc1f62931f13cd (diff) |
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-sqlite
Diffstat (limited to 'system/core/Input.php')
-rwxr-xr-x | system/core/Input.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index 73f46ba6a..b986c4973 100755 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -383,7 +383,7 @@ class CI_Input { */ public function valid_ip($ip) { - return (bool) filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4); + return (bool) filter_var($ip, FILTER_VALIDATE_IP); } // -------------------------------------------------------------------- |