mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Fixed bad refactor in the permission service
This commit is contained in:
@ -422,7 +422,7 @@ class PermissionService
|
|||||||
*/
|
*/
|
||||||
public function enforceBookRestrictions($query, $action = 'view')
|
public function enforceBookRestrictions($query, $action = 'view')
|
||||||
{
|
{
|
||||||
$this->enforceEntityRestrictions($query, $action);
|
return $this->enforceEntityRestrictions($query, $action);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user