Change the link name for ebook download to be the book format (instead of download). Proposed by At Libitum. fix #119
This commit is contained in:
parent
8b87e16728
commit
56647a44eb
1 changed files with 1 additions and 1 deletions
2
book.php
2
book.php
|
@ -427,7 +427,7 @@ class Book extends Base {
|
|||
{
|
||||
if ($data->isKnownType ())
|
||||
{
|
||||
array_push ($linkArray, $data->getDataLink (Link::OPDS_ACQUISITION_TYPE, "Download"));
|
||||
array_push ($linkArray, $data->getDataLink (Link::OPDS_ACQUISITION_TYPE, $data->format));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue