Merge pull request #8173 from michaelletzgus/fix_for_each
Fix "undefined index" problem
This commit is contained in:
commit
8fa86bf68b
|
@ -288,9 +288,11 @@ class AppConfig implements IAppConfig {
|
||||||
public function getFilteredValues($app) {
|
public function getFilteredValues($app) {
|
||||||
$values = $this->getValues($app, false);
|
$values = $this->getValues($app, false);
|
||||||
|
|
||||||
foreach ($this->sensitiveValues[$app] as $sensitiveKey) {
|
if (isset($this->sensitiveValues[$app])) {
|
||||||
if (isset($values[$sensitiveKey])) {
|
foreach ($this->sensitiveValues[$app] as $sensitiveKey) {
|
||||||
$values[$sensitiveKey] = IConfig::SENSITIVE_VALUE;
|
if (isset($values[$sensitiveKey])) {
|
||||||
|
$values[$sensitiveKey] = IConfig::SENSITIVE_VALUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue