using array_key_exists() instead of isset() - required because in case the value is null isset is returning false

remotes/origin/ldap_group_count
Thomas Müller 11 years ago
parent 85e7921b14
commit c1fd300048
  1. 2
      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);
}
/**

Loading…
Cancel
Save