diff options
author | Robin Appelman <robin@icewind.nl> | 2018-11-27 15:20:23 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2018-11-29 20:46:47 +0000 |
commit | 8eb4c21c0def20d7b0773cad1e768109d7052eb5 (patch) | |
tree | fc9a964c6a2e734d356bd5d9f70c2ed588554662 /apps/files_external/lib | |
parent | 0ecd92d70be3d195513f257b1be2a3f4499abcd2 (diff) | |
download | nextcloud-server-8eb4c21c0def20d7b0773cad1e768109d7052eb5.tar.gz nextcloud-server-8eb4c21c0def20d7b0773cad1e768109d7052eb5.zip |
Fix cannot set 0 as value on files_external through OCC command
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/Command/Config.php | 2 |
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); |