aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-01-29 08:13:00 +0100
committerGitHub <noreply@github.com>2021-01-29 08:13:00 +0100
commit395826b81afd148bdd45588892f6614225f38d14 (patch)
treed352b2a80eafc6697f60b9e9cb272f60c00911ef /lib
parentd470e29ec3d189ef627373a1b48fafcb521ec8ba (diff)
parent7e727a1a312a0abfe75d6d7b98f511be0972e965 (diff)
downloadnextcloud-server-395826b81afd148bdd45588892f6614225f38d14.tar.gz
nextcloud-server-395826b81afd148bdd45588892f6614225f38d14.zip
Merge pull request #25369 from nextcloud/fix/query_str_arrays_as_str_array
The objectid is a string
Diffstat (limited to 'lib')
-rw-r--r--lib/private/SystemTag/SystemTagObjectMapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/SystemTag/SystemTagObjectMapper.php b/lib/private/SystemTag/SystemTagObjectMapper.php
index a13afa8c79b..c07b1726c68 100644
--- a/lib/private/SystemTag/SystemTagObjectMapper.php
+++ b/lib/private/SystemTag/SystemTagObjectMapper.php
@@ -78,7 +78,7 @@ class SystemTagObjectMapper implements ISystemTagObjectMapper {
->from(self::RELATION_TABLE)
->where($query->expr()->in('objectid', $query->createParameter('objectids')))
->andWhere($query->expr()->eq('objecttype', $query->createParameter('objecttype')))
- ->setParameter('objectids', $objIds, IQueryBuilder::PARAM_INT_ARRAY)
+ ->setParameter('objectids', $objIds, IQueryBuilder::PARAM_STR_ARRAY)
->setParameter('objecttype', $objectType)
->addOrderBy('objectid', 'ASC')
->addOrderBy('systemtagid', 'ASC');