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>2014-10-07 23:36:01 +0400
committerdiosmosis <benaka@piwik.pro>2014-10-07 23:36:01 +0400
commit773160a34320b85b7f84b781c69727d8e48dd311 (patch)
treea555e92357578dbbe1b41176d6d4257b83609717 /core/Config.php
parent8308dc659bdd7eaa77b0963c4b8ecd3b7c5fe43d (diff)
Fixing bug caused by typo in core/Config.php (caused non-existant config sections to contain old superuser bridge info on first access).
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Config.php b/core/Config.php
index 749c585647..43fd75965a 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -429,7 +429,7 @@ class Config extends Singleton
: $this->configLocal[$name];
}
- if ($section === null && $name = 'superuser') {
+ if ($section === null && $name == 'superuser') {
$user = $this->getConfigSuperUserForBackwardCompatibility();
return $user;
} else if ($section === null) {