aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-07 21:05:48 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-07 21:05:48 +0200
commitc1fd3000484972b9eaca22831ca4cc441bde5cf2 (patch)
treec9f60268295b477be351751a697346c160bab69a /lib
parent85e7921b149cf555e5c5f81837da5cd68696014a (diff)
downloadnextcloud-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.php2
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);
}
/**