Skip to content

Commit

Permalink
fixup! fixup! Propegate hide download state in share provider
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
  • Loading branch information
danxuliu committed Oct 29, 2018
1 parent 0612a92 commit f70f3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Share20/DefaultShareProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ private function createShare($data) {
}

$share->setProviderId($this->identifier());
$share->setHideDownload($data['hide_download'] === 1);
$share->setHideDownload((int)$data['hide_download'] === 1);

return $share;
}
Expand Down

0 comments on commit f70f3d3

Please sign in to comment.