From 371a4d014add6fc5016091ebc9e88ec1c2cd4586 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 30 Apr 2015 17:33:13 +0200 Subject: [PATCH] Fix no value --- core/command/config/listconfigs.php | 4 ++-- 1 file 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; } }