Merge pull request #8693 from nextcloud/13-8173
[stable13] Fix undefined index problem
This commit is contained in:
commit
41f8f68a5a
|
@ -293,11 +293,13 @@ class AppConfig implements IAppConfig {
|
||||||
public function getFilteredValues($app) {
|
public function getFilteredValues($app) {
|
||||||
$values = $this->getValues($app, false);
|
$values = $this->getValues($app, false);
|
||||||
|
|
||||||
|
if (array_key_exists($app, $this->sensitiveValues)) {
|
||||||
foreach ($this->sensitiveValues[$app] as $sensitiveKey) {
|
foreach ($this->sensitiveValues[$app] as $sensitiveKey) {
|
||||||
if (isset($values[$sensitiveKey])) {
|
if (isset($values[$sensitiveKey])) {
|
||||||
$values[$sensitiveKey] = IConfig::SENSITIVE_VALUE;
|
$values[$sensitiveKey] = IConfig::SENSITIVE_VALUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $values;
|
return $values;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue