diff options
author | diosmosis <benaka@piwik.pro> | 2015-03-31 02:46:43 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-03-31 02:46:43 +0300 |
commit | 2bb38424d624a32604e49dddc973bc29500e5401 (patch) | |
tree | ba7cc9a6570f8614606e529e82e4b209c0cce238 /core/Config.php | |
parent | 459efa7dd9b6b09a84542b0def3a53ff8993b49a (diff) |
Fix issue where reference not returned by IniFileChain::get when settings file is completely empty and add test case. Also add type hint to IniFileChain::__construct.
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/Config.php b/core/Config.php index 698dc28a08..91853de733 100644 --- a/core/Config.php +++ b/core/Config.php @@ -422,10 +422,6 @@ class Config extends Singleton } $section =& $this->settings->get($name); - if ($section === null) { - $section = array(); - } - return $section; } |