Skip to content

Commit f70f3d3

Browse files
committed
fixup! fixup! Propegate hide download state in share provider
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent 0612a92 commit f70f3d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Share20/DefaultShareProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ private function createShare($data) {
954954
}
955955

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

959959
return $share;
960960
}

0 commit comments

Comments
 (0)