summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax/getitem.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/ajax/getitem.php')
-rw-r--r--apps/files_sharing/ajax/getitem.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/ajax/getitem.php b/apps/files_sharing/ajax/getitem.php
index 249af6cfa31..e7bda0f6144 100644
--- a/apps/files_sharing/ajax/getitem.php
+++ b/apps/files_sharing/ajax/getitem.php
@@ -30,7 +30,7 @@ while ($source != "" && $source != "/" && $source != "." && $source != $userDire
$source = dirname($source);
}
if (!empty($users)) {
- echo json_encode($users);
+ OC_JSON::encodedPrint($users);
}
-?> \ No newline at end of file
+?>