diff options
author | diosmosis <benaka@piwik.pro> | 2015-03-31 02:28:34 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-03-31 02:28:34 +0300 |
commit | 459efa7dd9b6b09a84542b0def3a53ff8993b49a (patch) | |
tree | ff132eccef11d1f7d5b2d278763ea496727e88fa /core/Config.php | |
parent | 77d1ae51b7c14a7ec6e7c26bc60edc72bb5555d2 (diff) |
Attempting to fix travis error 'indirect modification of overloaded property has no effect'.
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/Config.php b/core/Config.php index 362f0e7005..698dc28a08 100644 --- a/core/Config.php +++ b/core/Config.php @@ -422,12 +422,11 @@ class Config extends Singleton } $section =& $this->settings->get($name); - if ($section === null) { - return array(); - } else { - return $section; + $section = array(); } + + return $section; } public function getFromGlobalConfig($name) |