diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-03-23 12:32:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-23 12:32:59 +0100 |
commit | b04bdad65e7631488712a3911b5bbc32533075df (patch) | |
tree | 56dc23d1395e4487fac367377fc3e41943dc5311 /lib | |
parent | d94b56d5e4eecb012c94da8a934a23143eac8390 (diff) | |
parent | 826821a7da6ad830e21d88459e147b0efe1013da (diff) | |
download | nextcloud-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.php | 2 |
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(); |