diff options
author | robocoder <anthon.pang@gmail.com> | 2010-10-05 07:33:20 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-10-05 07:33:20 +0400 |
commit | dd5ba8b1b4917fc06090e01580bf00e212bd0bc2 (patch) | |
tree | 4c6364564f9b6a519dcdb916f5236bbe327eea2a /libs/upgradephp | |
parent | 2b329bc8cc294dc694727dd54a0be83b0a4ddc37 (diff) |
refs #1498 - really fix it this time
git-svn-id: http://dev.piwik.org/svn/trunk@3236 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/upgradephp')
-rw-r--r-- | libs/upgradephp/upgrade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php index e395a33c2e..297f3b9a33 100644 --- a/libs/upgradephp/upgrade.php +++ b/libs/upgradephp/upgrade.php @@ -119,7 +119,7 @@ if (!function_exists("json_encode")) { if (!$obj) { $expect = 0; foreach ((array)$var as $i=>$v) { - if (!is_int($i) || $i !== $expect) { + if (!is_int($i) || $i !== $expect++) { $obj = 1; break; } |