From 05b8eb140cc1c1fa27520bb5c0762f08e144b6c0 Mon Sep 17 00:00:00 2001
From: michaelletzgus <michaelletzgus@users.noreply.github.com>
Date: Mon, 5 Feb 2018 10:50:32 +0100
Subject: [PATCH] using isset()

using isset() instead of array_key_exists()
---
 lib/private/AppConfig.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
GitLab