Skip to content
Snippets Groups Projects
Unverified Commit 8fa86bf6 authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #8173 from michaelletzgus/fix_for_each

Fix "undefined index" problem
parents 2b848e48 05b8eb14
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment