From 56c777f71594b580f0c069bb1125db0023cd2e7a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 27 Nov 2018 15:20:23 +0100 Subject: [PATCH] Fix cannot set 0 as value on files_external through OCC command Signed-off-by: Robin Appelman --- apps/files_external/lib/Command/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_external/lib/Command/Config.php b/apps/files_external/lib/Command/Config.php index 375181d35e5..87d11cbdfa0 100644 --- a/apps/files_external/lib/Command/Config.php +++ b/apps/files_external/lib/Command/Config.php @@ -74,7 +74,7 @@ class Config extends Base { } $value = $input->getArgument('value'); - if ($value) { + if ($value !== null) { $this->setOption($mount, $key, $value, $output); } else { $this->getOption($mount, $key, $output);