Fix link in HTML catalog when your calibre library is nested

This commit is contained in:
Sébastien Lucas 2012-07-01 20:44:58 +02:00
parent 43918d5f2e
commit aeb8506909

View file

@ -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;
}
}