]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Models/Page.php
Code cleanup, bug squashing
[bookstack] / app / Entities / Models / Page.php
index c244219ea87dec147c9dc37f0838c6cda8ff0c6e..89ed26ea87768bab4dc661daa0f215831724ca6d 100644 (file)
@@ -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();