Force boolean type for access parameter
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
243cef1c3a
commit
826821a7da
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue