mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Fix links to existing books in in-use artwork
This commit is contained in:
parent
1c125ef625
commit
17abf45850
2 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ class Artwork extends PropertiesBase{
|
|||
|
||||
protected function GetEbook(): ?Ebook{
|
||||
if($this->_Ebook === null){
|
||||
$this->_Ebook = Library::GetEbook($this->EbookWwwFilesystemPath);
|
||||
$this->_Ebook = Library::GetEbook(EBOOKS_DIST_PATH . str_replace('_', '/', $this->EbookWwwFilesystemPath ?? ''));
|
||||
}
|
||||
|
||||
return $this->_Ebook;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue