mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Code cleanup, bug squashing
This commit is contained in:
@ -130,9 +130,10 @@ class Page extends BookChild
|
||||
/**
|
||||
* Returns URL to a cover image for the page.
|
||||
*/
|
||||
public function getCoverImage(): string
|
||||
public function getCoverImage()
|
||||
{
|
||||
$default = $this->book->getBookCover();
|
||||
//$default = $this->book->getBookCover();
|
||||
$default = url('/logo.png');
|
||||
|
||||
$firstImage = (new PageContent($this))->fetchFirstImage();
|
||||
|
||||
|
Reference in New Issue
Block a user