summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-30 09:58:50 +0100
committerGitHub <noreply@github.com>2018-11-30 09:58:50 +0100
commit44acc9db88795e2ec20c9e885baecc93016a6192 (patch)
tree44026e7a8da68961a67019a6ca02431cf4e42d83 /apps/files_external
parent2ca23935132f6547af5529466f95661d4feeb722 (diff)
parent8eb4c21c0def20d7b0773cad1e768109d7052eb5 (diff)
downloadnextcloud-server-44acc9db88795e2ec20c9e885baecc93016a6192.tar.gz
nextcloud-server-44acc9db88795e2ec20c9e885baecc93016a6192.zip
Merge pull request #12746 from nextcloud/backport/12688/stable15
[stable15] Fix cannot set 0 as value on files_external through OCC command
Diffstat (limited to 'apps/files_external')
-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);