commit | 3a89d3c05303d25486576de3d056f39585decfe4 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Thu Nov 03 16:26:31 2016 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Thu Nov 03 16:26:31 2016 +0200 |
tree | c620dd6ae44406266336141d4e7b2a30a2d7909c | |
parent | 7cc08237c2a15daf283e2bc61501bdc086740311 [diff] [blame] |
Fix #4679, for real
diff --git a/system/core/Input.php b/system/core/Input.php index b81d51e..24fe8a9 100644 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -521,7 +521,7 @@ $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