mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
fixed error from phpcs
This commit is contained in:
@ -142,7 +142,7 @@ class PageRepo
|
||||
} else {
|
||||
$defaultTemplate = $page->book->defaultTemplate;
|
||||
}
|
||||
|
||||
|
||||
if ($defaultTemplate && userCan('view', $defaultTemplate)) {
|
||||
$page->forceFill([
|
||||
'html' => $defaultTemplate->html,
|
||||
|
Reference in New Issue
Block a user