summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-23 18:02:27 +0200
committerGitHub <noreply@github.com>2016-06-23 18:02:27 +0200
commite070cbb02330fd6a97aa29bad661775ca8f894a7 (patch)
treef2e5ef24877dece61bf3cd4e28dcc7430a55d0e6
parenta2a23a68ee29a507ea95b279d14822b7c1a8f456 (diff)
parentd1f94e84d6f9329b2e7daa38917c4babef8ade4d (diff)
downloadnextcloud-server-e070cbb02330fd6a97aa29bad661775ca8f894a7.tar.gz
nextcloud-server-e070cbb02330fd6a97aa29bad661775ca8f894a7.zip
Merge pull request #25227 from owncloud/usecorrecttype
use string array when fetching share ids
-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()) {