summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-03-23 12:32:59 +0100
committerGitHub <noreply@github.com>2019-03-23 12:32:59 +0100
commitb04bdad65e7631488712a3911b5bbc32533075df (patch)
tree56dc23d1395e4487fac367377fc3e41943dc5311 /lib
parentd94b56d5e4eecb012c94da8a934a23143eac8390 (diff)
parent826821a7da6ad830e21d88459e147b0efe1013da (diff)
downloadnextcloud-server-b04bdad65e7631488712a3911b5bbc32533075df.tar.gz
nextcloud-server-b04bdad65e7631488712a3911b5bbc32533075df.zip
Merge pull request #14812 from nextcloud/bugfix/noid/collections-access-type
Force boolean type for access parameter
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Collaboration/Resources/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php
index bfe95a74514..fe5af94ab07 100644
--- a/lib/private/Collaboration/Resources/Manager.php
+++ b/lib/private/Collaboration/Resources/Manager.php
@@ -411,7 +411,7 @@ class Manager implements IManager {
'user_id' => $query->createNamedParameter($userId),
'resource_id' => $query->createNamedParameter($resource->getId()),
'resource_type' => $query->createNamedParameter($resource->getType()),
- 'access' => $query->createNamedParameter($access),
+ 'access' => $query->createNamedParameter($access, IQueryBuilder::PARAM_BOOL),
]);
try {
$query->execute();