aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2022-09-19 11:36:52 +0200
committertobiasKaminsky <tobias@kaminsky.me>2022-09-19 11:36:52 +0200
commitebd28ef9e031403e7e8fd8c108fc8d458365612d (patch)
treef92cd233fa6aa8eacb407db33c5136e98fca5cf1 /apps/files_sharing/lib
parent4a4a3874da17105bad1eeba80e8b2e6c7ba4eb6c (diff)
downloadnextcloud-server-ebd28ef9e031403e7e8fd8c108fc8d458365612d.tar.gz
nextcloud-server-ebd28ef9e031403e7e8fd8c108fc8d458365612d.zip
Show include tags on single share
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to 'apps/files_sharing/lib')
-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 068b9d12486..81145408aa2 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -382,7 +382,7 @@ class ShareAPIController extends OCSController {
$share = $this->formatShare($share);
if ($includeTags) {
- $share = Helper::populateTags($formatted, 'file_source', \OC::$server->getTagManager());
+ $share = Helper::populateTags(array($share), 'file_source', \OC::$server->getTagManager());
}
return new DataResponse([$share]);