summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-11-27 15:20:23 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2018-11-29 20:46:47 +0000
commit8eb4c21c0def20d7b0773cad1e768109d7052eb5 (patch)
treefc9a964c6a2e734d356bd5d9f70c2ed588554662 /apps/files_external/lib
parent0ecd92d70be3d195513f257b1be2a3f4499abcd2 (diff)
downloadnextcloud-server-8eb4c21c0def20d7b0773cad1e768109d7052eb5.tar.gz
nextcloud-server-8eb4c21c0def20d7b0773cad1e768109d7052eb5.zip
Fix cannot set 0 as value on files_external through OCC command
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/Command/Config.php2
1 files changed, 1 insertions, 1 deletions
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);