diff options
Diffstat (limited to 'system/core/compat/array.php')
-rw-r--r-- | system/core/compat/array.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/compat/array.php b/system/core/compat/array.php index b291703ed..07dae21c2 100644 --- a/system/core/compat/array.php +++ b/system/core/compat/array.php @@ -163,7 +163,7 @@ if ( ! function_exists('array_replace')) $array = array_shift($arrays); $c--; - for ($i = 0, $c = count($arrays); $i < $c; $i++) + for ($i = 0; $i < $c; $i++) { if ( ! is_array($arrays[$i])) { @@ -218,7 +218,7 @@ if ( ! function_exists('array_replace_recursive')) $array = array_shift($arrays); $c--; - for ($i = 0, $c = count($arrays); $i < $c; $i++) + for ($i = 0; $i < $c; $i++) { if ( ! is_array($arrays[$i])) { |