]> source.dussan.org Git - nextcloud-server.git/commitdiff
use the correct param type when getting external storages for groups 5073/head
authorRobin Appelman <robin@icewind.nl>
Mon, 22 May 2017 15:39:56 +0000 (17:39 +0200)
committerRobin Appelman <robin@icewind.nl>
Tue, 23 May 2017 14:49:59 +0000 (16:49 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files_external/lib/Service/DBConfigService.php

index 00612d17643d3c85053892b3cd4edc60a072000f..21818eec601c2061179f0eee3d87b4ad93a9810f 100644 (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))
                                )
                        ));