Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-03-31 02:28:34 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-31 02:28:34 +0300
commit459efa7dd9b6b09a84542b0def3a53ff8993b49a (patch)
treeff132eccef11d1f7d5b2d278763ea496727e88fa /core/Config.php
parent77d1ae51b7c14a7ec6e7c26bc60edc72bb5555d2 (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.php7
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)