]> BookStack Code Mirror - bookstack/blobdiff - app/Services/PermissionService.php
Fixed bad refactor in the permission service
[bookstack] / app / Services / PermissionService.php
index 17c1b12858a77ab9b98393afb61d7f307665e520..218cb30a578f7483bdde8ea61cf29fba7d959dd7 100644 (file)
@@ -422,7 +422,7 @@ class PermissionService
      */
     public function enforceBookRestrictions($query, $action = 'view')
     {
-        $this->enforceEntityRestrictions($query, $action);
+        return $this->enforceEntityRestrictions($query, $action);
     }
 
     /**