]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5080b49
)
Fixed bad refactor in the permission service
author
Dan Brown
<redacted>
Fri, 6 May 2016 19:44:07 +0000
(20:44 +0100)
committer
Dan Brown
<redacted>
Fri, 6 May 2016 19:44:07 +0000
(20:44 +0100)
app/Services/PermissionService.php
patch
|
blob
|
history
diff --git
a/app/Services/PermissionService.php
b/app/Services/PermissionService.php
index 17c1b12858a77ab9b98393afb61d7f307665e520..218cb30a578f7483bdde8ea61cf29fba7d959dd7 100644
(file)
--- 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);
}
/**
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.