summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-11-19 16:43:46 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-26 09:19:49 +0100
commit06f97c0fd07584cf086d5442c00a75fdc3197961 (patch)
tree96f35653cd4e110d984cc151eeb74f098b03d2cc /core/Controller
parent0fab27f459d3276a2559cdee5693bfec8c2cf1c9 (diff)
downloadnextcloud-server-06f97c0fd07584cf086d5442c00a75fdc3197961.tar.gz
nextcloud-server-06f97c0fd07584cf086d5442c00a75fdc3197961.zip
Fix autocomplete suggestions with numeric user ids
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/AutoCompleteController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/AutoCompleteController.php b/core/Controller/AutoCompleteController.php
index df244df987c..1e45bb63a76 100644
--- a/core/Controller/AutoCompleteController.php
+++ b/core/Controller/AutoCompleteController.php
@@ -107,7 +107,7 @@ class AutoCompleteController extends Controller {
foreach ($results as $type => $subResult) {
foreach ($subResult as $result) {
$output[] = [
- 'id' => $result['value']['shareWith'],
+ 'id' => (string) $result['value']['shareWith'],
'label' => $result['label'],
'source' => $type,
];