diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-30 17:33:13 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 11:18:24 +0200 |
commit | 371a4d014add6fc5016091ebc9e88ec1c2cd4586 (patch) | |
tree | 73fe3c4e982f61711502f8ed18f77c79d63cd945 /core/command/config | |
parent | 5d84876ecd383e6492603af57efc711ec1ca093f (diff) | |
download | nextcloud-server-371a4d014add6fc5016091ebc9e88ec1c2cd4586.tar.gz nextcloud-server-371a4d014add6fc5016091ebc9e88ec1c2cd4586.zip |
Fix no value
Diffstat (limited to 'core/command/config')
-rw-r--r-- | core/command/config/listconfigs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/command/config/listconfigs.php b/core/command/config/listconfigs.php index 5b9bca20f03..aa95402080c 100644 --- a/core/command/config/listconfigs.php +++ b/core/command/config/listconfigs.php @@ -122,8 +122,8 @@ class ListConfigs extends Base { continue; } - $value = $this->systemConfig->getValue($key, new \Exception('Not set')); - if (!($value instanceof \Exception)) { + $value = $this->systemConfig->getValue($key, serialize(null)); + if ($value !== 'N;') { $configs[$key] = $value; } } |