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:
commit
73fa3e1757
|
@ -74,7 +74,7 @@ class Config extends Base {
|
||||||
}
|
}
|
||||||
|
|
||||||
$value = $input->getArgument('value');
|
$value = $input->getArgument('value');
|
||||||
if ($value) {
|
if ($value !== null) {
|
||||||
$this->setOption($mount, $key, $value, $output);
|
$this->setOption($mount, $key, $value, $output);
|
||||||
} else {
|
} else {
|
||||||
$this->getOption($mount, $key, $output);
|
$this->getOption($mount, $key, $output);
|
||||||
|
|
Loading…
Reference in New Issue