Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormichaelletzgus <michaelletzgus@users.noreply.github.com>2018-02-05 12:50:32 +0300
committerGitHub <noreply@github.com>2018-02-05 12:50:32 +0300
commit05b8eb140cc1c1fa27520bb5c0762f08e144b6c0 (patch)
tree4b767ca75c87ddd2a2f52f19c260deaa46a392b9 /lib
parentcfa694ea73d128415ce5ebf446a8bb1f8799dcd1 (diff)
using isset()
using isset() instead of array_key_exists()
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppConfig.php2
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;