diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2011-09-13 16:44:07 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2011-09-13 16:44:07 +0200 |
commit | 47213794f2b09fb3540e1d0e53e50e8b084345e6 (patch) | |
tree | 72b62b4cded094996e77919f1d2de16c2e8f94a7 /system/core/Input.php | |
parent | 013c895e7f7e9122f8d2e8c80a3ac77f190c5171 (diff) |
Update: change _fetch_from_array form private to protected
Diffstat (limited to 'system/core/Input.php')
-rwxr-xr-x | system/core/Input.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index 1e37b11ea..f39371fb0 100755 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -110,13 +110,13 @@ class CI_Input { * * This is a helper function to retrieve values from global arrays * - * @access private + * @access protected * @param array * @param string * @param bool * @return string */ - private function _fetch_from_array(&$array, $index = '', $xss_clean = FALSE) + protected function _fetch_from_array(&$array, $index = '', $xss_clean = FALSE) { if ( ! isset($array[$index])) { @@ -374,7 +374,7 @@ class CI_Input { public function valid_ip($ip) { // if php version >= 5.2, use filter_var to check validate ip. - if(function_exists('filter_var')) + if (function_exists('filter_var')) { return (bool) filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4); } |