Fix link in HTML catalog when your calibre library is nested
This commit is contained in:
parent
43918d5f2e
commit
aeb8506909
2
data.php
2
data.php
|
@ -78,7 +78,7 @@ class Data extends Base {
|
|||
}
|
||||
else
|
||||
{
|
||||
return str_replace ("&", "&", "fetch.php?id=" . $this->book->id . "&data=" . $this->id . "&type=" . $this->extension);
|
||||
return self::getLink ($this->book, $this->extension, $this->getMimeType (), $rel, $this->getFilename (), $this->id, $title)->href;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue