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:
Sébastien Lucas 2013-11-30 15:36:49 +01:00
parent 8b87e16728
commit 56647a44eb

View file

@ -427,7 +427,7 @@ class Book extends Base {
{ {
if ($data->isKnownType ()) if ($data->isKnownType ())
{ {
array_push ($linkArray, $data->getDataLink (Link::OPDS_ACQUISITION_TYPE, "Download")); array_push ($linkArray, $data->getDataLink (Link::OPDS_ACQUISITION_TYPE, $data->format));
} }
} }