summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2007-06-12 05:53:12 +0200
committerRick Ellis <rick.ellis@ellislab.com>2007-06-12 05:53:12 +0200
commit3921314954fb851cf2b0980cabc750e0481d0de5 (patch)
tree3c51633e8e63512030d546223167368706012351 /system
parentba648939ddc1ed86e36fa7cdf20d3d05401e4ffe (diff)
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Input.php2
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;
}