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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
3 deletions
-
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; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|