Fixed bad refactor in the permission service

This commit is contained in:
Dan Brown 2016-05-06 20:44:07 +01:00
parent 5080b4996e
commit c99653f0f2

View File

@ -422,7 +422,7 @@ class PermissionService
*/
public function enforceBookRestrictions($query, $action = 'view')
{
$this->enforceEntityRestrictions($query, $action);
return $this->enforceEntityRestrictions($query, $action);
}
/**