summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-11-03 15:26:31 +0100
committerAndrey Andreev <narf@devilix.net>2016-11-03 15:26:31 +0100
commit3a89d3c05303d25486576de3d056f39585decfe4 (patch)
treec620dd6ae44406266336141d4e7b2a30a2d7909c /system
parent7cc08237c2a15daf283e2bc61501bdc086740311 (diff)
Fix #4679, for real
Diffstat (limited to 'system')
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index b81d51ebf..24fe8a9cc 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -521,7 +521,7 @@ class CI_Input {
$netaddr = explode(':', str_replace('::', str_repeat(':', 9 - substr_count($netaddr, ':')), $netaddr));
for ($j = 0; $j < 8; $j++)
{
- $netaddr[$i] = intval($netaddr[$j], 16);
+ $netaddr[$j] = intval($netaddr[$j], 16);
}
}
else