Browse Source

Merge pull request #8173 from michaelletzgus/fix_for_each

Fix "undefined index" problem
pull/8206/head
Morris Jobke 8 years ago
committed by GitHub
parent
commit
8fa86bf68b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      lib/private/AppConfig.php

8
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;
}
}
}

Loading…
Cancel
Save