Merge pull request #5042 from nextcloud/external-get-for-group-sql-type

use the correct param type when getting external storages for groups
This commit is contained in:
Roeland Jago Douma 2017-05-23 11:36:20 +02:00 committed by GitHub
commit 250db249b5
1 changed files with 1 additions and 1 deletions

View File

@ -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))
)
));