From 53a9c3f3fdc480a2392f256875d97d41b9ce2625 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 18 Sep 2007 19:18:53 +0000 Subject: Fixed a bug in Validation where valid_ip() wasn't called properly --- system/libraries/Validation.php | 2 +- user_guide/changelog.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index 10773b213..3dfc7be03 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php @@ -490,7 +490,7 @@ class CI_Validation { */ function valid_ip($ip) { - return $this->CI->valid_ip($ip); + return $this->CI->input->valid_ip($ip); } // -------------------------------------------------------------------- diff --git a/user_guide/changelog.html b/user_guide/changelog.html index e8f783ea0..55ddcdb67 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -74,6 +74,7 @@ Change Log
  • Added titles to all user manual pages.
  • Documented the timezones() function in the Date Helper.
  • Documented unset_userdata in the Session class.
  • +
  • Fixed a bug in Validation where valid_ip() wasn't called properly
  • Fixed a bug in database driver where num_rows property wasn't getting updated.
  • Fixed a bug in captcha calling an invalid PHP function.
  • Fixed a bug in _html_entity_decode_callback() when 'global_xss_filtering' is enabled.
  • -- cgit v1.2.3-24-g4f1b