diff options
author | michaelletzgus <michaelletzgus@users.noreply.github.com> | 2018-02-05 12:50:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 12:50:32 +0300 |
commit | 05b8eb140cc1c1fa27520bb5c0762f08e144b6c0 (patch) | |
tree | 4b767ca75c87ddd2a2f52f19c260deaa46a392b9 /lib | |
parent | cfa694ea73d128415ce5ebf446a8bb1f8799dcd1 (diff) |
using isset()
using isset() instead of array_key_exists()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppConfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 880bf647469..6d24ca5fa8e 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -288,7 +288,7 @@ class AppConfig implements IAppConfig { public function getFilteredValues($app) { $values = $this->getValues($app, false); - if (array_key_exists($app, $this->sensitiveValues)) { + if (isset($this->sensitiveValues[$app])) { foreach ($this->sensitiveValues[$app] as $sensitiveKey) { if (isset($values[$sensitiveKey])) { $values[$sensitiveKey] = IConfig::SENSITIVE_VALUE; |