aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-29 16:38:37 +0100
committerGitHub <noreply@github.com>2018-11-29 16:38:37 +0100
commit73fa3e17571b0a199a3a7c0d52d881ce11f0aa6d (patch)
treebee4396030c88d03beba0be69c73e8aa668c104b /apps
parent44aa1b0b900c1fc0125e474ef539b5eabe2d0f75 (diff)
parent56c777f71594b580f0c069bb1125db0023cd2e7a (diff)
downloadnextcloud-server-73fa3e17571b0a199a3a7c0d52d881ce11f0aa6d.tar.gz
nextcloud-server-73fa3e17571b0a199a3a7c0d52d881ce11f0aa6d.zip
Merge pull request #12688 from nextcloud/files_external-occ-0
Fix cannot set 0 as value on files_external through OCC command
Diffstat (limited to 'apps')
-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);