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

[12] use the correct param type when getting external storages for groups
This commit is contained in:
Roeland Jago Douma 2017-05-23 22:39:34 +02:00 committed by GitHub
commit d00d96c902
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))
)
));