Fix cannot set 0 as value on files_external through OCC command

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-11-27 15:20:23 +01:00
parent c8cab74404
commit 56c777f715
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 1 deletions

View File

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