diff options
author | Robin Appelman <robin@icewind.nl> | 2017-05-22 17:39:56 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-05-22 17:39:56 +0200 |
commit | 0baeec170e44c1806f57fbf80e706581f10bdfac (patch) | |
tree | ee8b8200991b6d1f1618c7852ed5eee99eea3eba | |
parent | 1efd9614764c0918a0e48c2cc7529c12b441e748 (diff) | |
download | nextcloud-server-0baeec170e44c1806f57fbf80e706581f10bdfac.tar.gz nextcloud-server-0baeec170e44c1806f57fbf80e706581f10bdfac.zip |
use the correct param type when getting external storages for groups
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | apps/files_external/lib/Service/DBConfigService.php | 2 |
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)) ) )); |