summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-03-31 09:14:17 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-03-31 10:40:14 -0100
commit0166990f012dcd0d2d633aa4dd895c44e8e4b360 (patch)
tree8da9efa0180b4131bc4ef91770798d50241fc1f9 /apps
parentefbadf0cf2ee995414b80d5bc950d05e174b3ae6 (diff)
downloadnextcloud-server-0166990f012dcd0d2d633aa4dd895c44e8e4b360.tar.gz
nextcloud-server-0166990f012dcd0d2d633aa4dd895c44e8e4b360.zip
fixing share format
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/Controller/ShareAPIController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php
index c7c4ddd757e..0f9996d2465 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -649,7 +649,7 @@ class ShareAPIController extends OCSController {
}
try {
- $format = $this->formatShare($share, $folder);
+ $format = $this->formatShare($share);
$known[] = $share->getId();
$formatted[] = $format;