commit | 9fd9248a2d712d5ae95bf2e6c6cd036e6b522cbb | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Tue Jul 19 14:04:17 2016 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Tue Jul 19 14:04:17 2016 +0300 |
tree | 07a175d72316b818e91150dd8f387993ce54274c | |
parent | 17fa8defc1b580df4395200f6536498918bc6ea6 [diff] [blame] |
Fix #4679
diff --git a/system/core/Input.php b/system/core/Input.php index 50ca047..b81d51e 100644 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -519,9 +519,9 @@ if ($separator === ':') { $netaddr = explode(':', str_replace('::', str_repeat(':', 9 - substr_count($netaddr, ':')), $netaddr)); - for ($i = 0; $i < 8; $i++) + for ($j = 0; $j < 8; $j++) { - $netaddr[$i] = intval($netaddr[$i], 16); + $netaddr[$i] = intval($netaddr[$j], 16); } } else