summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-06-22 15:13:10 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2016-06-23 16:44:51 +0200
commitd1f94e84d6f9329b2e7daa38917c4babef8ade4d (patch)
treef2e5ef24877dece61bf3cd4e28dcc7430a55d0e6 /apps
parenta2a23a68ee29a507ea95b279d14822b7c1a8f456 (diff)
downloadnextcloud-server-d1f94e84d6f9329b2e7daa38917c4babef8ade4d.tar.gz
nextcloud-server-d1f94e84d6f9329b2e7daa38917c4babef8ade4d.zip
use string array when fetching share ids
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/propagation/recipientpropagator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/propagation/recipientpropagator.php b/apps/files_sharing/lib/propagation/recipientpropagator.php
index 86c22a93628..994af049764 100644
--- a/apps/files_sharing/lib/propagation/recipientpropagator.php
+++ b/apps/files_sharing/lib/propagation/recipientpropagator.php
@@ -144,7 +144,7 @@ class RecipientPropagator {
->setParameter('appid', 'files_sharing', \PDO::PARAM_STR);
foreach ($shareIdChunks as $shareIds) {
- $sql->setParameter('shareids', $shareIds, Connection::PARAM_INT_ARRAY);
+ $sql->setParameter('shareids', $shareIds, Connection::PARAM_STR_ARRAY);
$result = $sql->execute();
while ($row = $result->fetch()) {