diff options
author | robocoder <anthon.pang@gmail.com> | 2011-03-11 21:10:44 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2011-03-11 21:10:44 +0300 |
commit | 29ba4e253bab56af4ce41d85d9aeac8884d9bd17 (patch) | |
tree | 47d23f30c15bb197e78ba2396df467878118ed31 /libs/upgradephp | |
parent | 135275d744c8e07a766863bb0890399205521d1b (diff) |
refs #2162 - fix E_NOTICE
git-svn-id: http://dev.piwik.org/svn/trunk@4064 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/upgradephp')
-rw-r--r-- | libs/upgradephp/upgrade.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php index 8476343a21..5246fc33e7 100644 --- a/libs/upgradephp/upgrade.php +++ b/libs/upgradephp/upgrade.php @@ -564,6 +564,10 @@ if(function_exists('parse_ini_file')) { } else { $result[] = $values[$j]; } + } else { + if ($process_sections === true) { + $result[$sections[$j]] = array(); + } } } |