mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 03:05:19 +00:00
Merge pull request #3908 from wallabag/epub-issue-3642
epub: fix exception when articles have the same title
This commit is contained in:
commit
8ab5dcc467
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class EntriesExport
|
||||||
foreach ($entry->getTags() as $tag) {
|
foreach ($entry->getTags() as $tag) {
|
||||||
$book->setSubject($tag->getLabel());
|
$book->setSubject($tag->getLabel());
|
||||||
}
|
}
|
||||||
$filename = sha1($entry->getTitle());
|
$filename = sha1(sprintf('%s:%s', $entry->getUrl(), $entry->getTitle()));
|
||||||
|
|
||||||
$publishedBy = $entry->getPublishedBy();
|
$publishedBy = $entry->getPublishedBy();
|
||||||
$authors = $this->translator->trans('export.unknown');
|
$authors = $this->translator->trans('export.unknown');
|
||||||
|
|
Loading…
Reference in a new issue