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

This commit is contained in:
Thomas Müller 2014-04-07 21:05:48 +02:00
parent 85e7921b14
commit c1fd300048
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**