diff options
-rw-r--r-- | system/libraries/Input.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Input.php b/system/libraries/Input.php index 7b0282418..102e3b5eb 100644 --- a/system/libraries/Input.php +++ b/system/libraries/Input.php @@ -395,7 +395,7 @@ class CI_Input { return FALSE;
}
// IP cannot start with 0
- if (substr($ip_segments[0], 0, 1) == 0)
+ if (substr($ip_segments[0], 0, 1) == '0')
{
return FALSE;
}
|