aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-05-07 23:52:02 +0200
committerGitHub <noreply@github.com>2019-05-07 23:52:02 +0200
commit4cb66fd0b669609d5fcef7ce3ea629e23484b373 (patch)
tree5891c32a9e2662f8f668eed7aaaf18acc69c3ecb /lib/private
parentefc89e4a12b21a19344d9fc0b4af9520a0a6ece4 (diff)
parentef3725ec4b523413fd53af831db60881ef43b500 (diff)
downloadnextcloud-server-4cb66fd0b669609d5fcef7ce3ea629e23484b373.tar.gz
nextcloud-server-4cb66fd0b669609d5fcef7ce3ea629e23484b373.zip
Merge pull request #15259 from nextcloud/bugfix/15256-wrong-column-type
Make access column a real boolean
Diffstat (limited to 'lib/private')
-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();