Skip to content

Commit

Permalink
Merge pull request #34905 from nextcloud/enh/34674/stable25
Browse files Browse the repository at this point in the history
[stable25] fix NC25 for 32-bit
  • Loading branch information
szaimen authored Nov 3, 2022
2 parents 8896b40 + c124456 commit d6eaaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/FilesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public function handleGetProperties(PropFind $propFind, \Sabre\DAV\INode $node)
$propFind->handle(self::HAS_PREVIEW_PROPERTYNAME, function () use ($node) {
return json_encode($this->previewManager->isAvailable($node->getFileInfo()));
});
$propFind->handle(self::SIZE_PROPERTYNAME, function () use ($node): ?int {
$propFind->handle(self::SIZE_PROPERTYNAME, function () use ($node) {
return $node->getSize();
});
$propFind->handle(self::MOUNT_TYPE_PROPERTYNAME, function () use ($node) {
Expand Down

0 comments on commit d6eaaf3

Please sign in to comment.