summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-05-23 11:36:20 +0200
committerGitHub <noreply@github.com>2017-05-23 11:36:20 +0200
commit250db249b5f32e112186dfb63e091faa89e68aaf (patch)
tree153e95325da409109261e1c1cd1851138d4fa1c2 /apps
parent3aee260737bc28c6cb792a435f37883f3f2f1d83 (diff)
parent0baeec170e44c1806f57fbf80e706581f10bdfac (diff)
downloadnextcloud-server-250db249b5f32e112186dfb63e091faa89e68aaf.tar.gz
nextcloud-server-250db249b5f32e112186dfb63e091faa89e68aaf.zip
Merge pull request #5042 from nextcloud/external-get-for-group-sql-type
use the correct param type when getting external storages for groups
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/Service/DBConfigService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Service/DBConfigService.php b/apps/files_external/lib/Service/DBConfigService.php
index 00612d17643..21818eec601 100644
--- a/apps/files_external/lib/Service/DBConfigService.php
+++ b/apps/files_external/lib/Service/DBConfigService.php
@@ -105,7 +105,7 @@ class DBConfigService {
),
$builder->expr()->andX( // mounts for group
$builder->expr()->eq('a.type', $builder->createNamedParameter(self::APPLICABLE_TYPE_GROUP, IQueryBuilder::PARAM_INT)),
- $builder->expr()->in('a.value', $builder->createNamedParameter($groupIds, IQueryBuilder::PARAM_INT_ARRAY))
+ $builder->expr()->in('a.value', $builder->createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY))
)
));