mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-07-16 05:33:49 +03:00
Permissions: Tweaks/fixed during review of revision-view-all changes
This commit is contained in:
@@ -24,7 +24,7 @@ return new class extends Migration
|
||||
'page-view-all',
|
||||
])->get();
|
||||
|
||||
if (!$pageViewPermissions->count() === 0) {
|
||||
if ($pageViewPermissions->count() === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user