From c99653f0f2799a8adb73ab0ebc761c649debfb44 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Fri, 6 May 2016 20:44:07 +0100 Subject: [PATCH] Fixed bad refactor in the permission service --- app/Services/PermissionService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PermissionService.php b/app/Services/PermissionService.php index 17c1b1285..218cb30a5 100644 --- a/app/Services/PermissionService.php +++ b/app/Services/PermissionService.php @@ -422,7 +422,7 @@ class PermissionService */ public function enforceBookRestrictions($query, $action = 'view') { - $this->enforceEntityRestrictions($query, $action); + return $this->enforceEntityRestrictions($query, $action); } /**