Fix links to existing books in in-use artwork

This commit is contained in:
Alex Cabal 2024-01-08 20:54:03 -06:00
parent 1c125ef625
commit 17abf45850
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ class Artwork extends PropertiesBase{
protected function GetEbook(): ?Ebook{ protected function GetEbook(): ?Ebook{
if($this->_Ebook === null){ if($this->_Ebook === null){
$this->_Ebook = Library::GetEbook($this->EbookWwwFilesystemPath); $this->_Ebook = Library::GetEbook(EBOOKS_DIST_PATH . str_replace('_', '/', $this->EbookWwwFilesystemPath ?? ''));
} }
return $this->_Ebook; return $this->_Ebook;