summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/AppConfig.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php
index 59a340cb491..6d24ca5fa8e 100644
--- a/lib/private/AppConfig.php
+++ b/lib/private/AppConfig.php
@@ -288,9 +288,11 @@ class AppConfig implements IAppConfig {
public function getFilteredValues($app) {
$values = $this->getValues($app, false);
- foreach ($this->sensitiveValues[$app] as $sensitiveKey) {
- if (isset($values[$sensitiveKey])) {
- $values[$sensitiveKey] = IConfig::SENSITIVE_VALUE;
+ if (isset($this->sensitiveValues[$app])) {
+ foreach ($this->sensitiveValues[$app] as $sensitiveKey) {
+ if (isset($values[$sensitiveKey])) {
+ $values[$sensitiveKey] = IConfig::SENSITIVE_VALUE;
+ }
}
}