]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set type for access column on cacheAccessForCollection
authorDaniel Kesselberg <mail@danielkesselberg.de>
Sat, 27 Apr 2019 11:24:08 +0000 (13:24 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 2 May 2019 19:10:47 +0000 (21:10 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
lib/private/Collaboration/Resources/Manager.php

index add23171f5699fe693b3c3e0d7374e56e24ccdbc..d670c3a846d38cb99faf0ee92e4dde087657cacc 100644 (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();