Set type for access column on cacheAccessForCollection

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2019-04-27 13:24:08 +02:00 committed by Backportbot
parent aff90527db
commit 5f93c754b4
1 changed files with 1 additions and 1 deletions

View File

@ -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();