summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-26 11:12:10 +0100
committerGitHub <noreply@github.com>2019-11-26 11:12:10 +0100
commit1fac8174b9d41bd150f214f7adfa8cbf6ab51bd7 (patch)
tree2478d9f114d793c64ef53ca8157a31bafc45717c /core
parentfe6dc8082c8f370cd1136bb0a0494b902ffbbea0 (diff)
parent06f97c0fd07584cf086d5442c00a75fdc3197961 (diff)
downloadnextcloud-server-1fac8174b9d41bd150f214f7adfa8cbf6ab51bd7.tar.gz
nextcloud-server-1fac8174b9d41bd150f214f7adfa8cbf6ab51bd7.zip
Merge pull request #18013 from nextcloud/bugfix/noid/fix-autocomplete-suggestions-with-numeric-users
Fix autocomplete suggestions with numeric users
Diffstat (limited to 'core')
-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,
];