diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-07 21:05:48 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-07 21:05:48 +0200 |
commit | c1fd3000484972b9eaca22831ca4cc441bde5cf2 (patch) | |
tree | c9f60268295b477be351751a697346c160bab69a /lib | |
parent | 85e7921b149cf555e5c5f81837da5cd68696014a (diff) | |
download | nextcloud-server-c1fd3000484972b9eaca22831ca4cc441bde5cf2.tar.gz nextcloud-server-c1fd3000484972b9eaca22831ca4cc441bde5cf2.zip |
using array_key_exists() instead of isset() - required because in case the value is null isset is returning false
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 cfb84309c67..fed6989a438 100644 --- a/lib/private/appconfig.php +++ b/lib/private/appconfig.php @@ -147,7 +147,7 @@ class AppConfig implements \OCP\IAppConfig { */ public function hasKey($app, $key) { $values = $this->getAppValues($app); - return isset($values[$key]); + return array_key_exists($key, $values); } /** |