using array_key_exists() instead of isset() - required because in case the value is null isset is returning false
This commit is contained in:
parent
85e7921b14
commit
c1fd300048
|
@ -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…
Reference in New Issue