commit | 9df35b4d23848e831ead765712addd0b845fd8f4 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Tue Oct 09 13:37:58 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Tue Oct 09 13:37:58 2012 +0300 |
tree | be846026149fd9710f5f5b25ab0bb6c96206972b | |
parent | ea7a866f6107d4b50b4a7059f1373035aa12dd23 [diff] [blame] |
Remove an unnecessary variable initialization
diff --git a/system/core/Input.php b/system/core/Input.php index b65509f..82482f2 100644 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -364,7 +364,7 @@ if ($spoof) { - for ($i = 0, $c = count($proxy_ips), $separator = (strlen($ip) === 32 ? '.' : ':'); $i < $c; $i++) + for ($i = 0, $c = count($proxy_ips); $i < $c; $i++) { // Check if we have an IP address or a subnet if (strpos($proxy_ips[$i], '/') === FALSE)