Merge pull request #12688 from nextcloud/files_external-occ-0

Fix cannot set 0 as value on files_external through OCC command
This commit is contained in:
Morris Jobke 2018-11-29 16:38:37 +01:00 committed by GitHub
commit 73fa3e1757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);