summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Resources/Manager.php
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-04-27 13:24:08 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-05-02 21:10:47 +0200
commit658edacf23a9bb06dafee3d271a23ff996274eef (patch)
tree2a832afe792e70bcc40bf0d4e3a54197dd307a9f /lib/private/Collaboration/Resources/Manager.php
parent057ca15995df14b094e156514175873c52a1d571 (diff)
downloadnextcloud-server-658edacf23a9bb06dafee3d271a23ff996274eef.tar.gz
nextcloud-server-658edacf23a9bb06dafee3d271a23ff996274eef.zip
Set type for access column on cacheAccessForCollection
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Collaboration/Resources/Manager.php')
-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 add23171f56..d670c3a846d 100644
--- a/lib/private/Collaboration/Resources/Manager.php
+++ b/lib/private/Collaboration/Resources/Manager.php
@@ -431,7 +431,7 @@ class Manager implements IManager {
->values([
'user_id' => $query->createNamedParameter($userId),
'collection_id' => $query->createNamedParameter($collection->getId()),
- 'access' => $query->createNamedParameter($access),
+ 'access' => $query->createNamedParameter($access, IQueryBuilder::PARAM_BOOL),
]);
try {
$query->execute();