mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +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) {
|
||||
$book->setSubject($tag->getLabel());
|
||||
}
|
||||
$filename = sha1($entry->getTitle());
|
||||
$filename = sha1(sprintf('%s:%s', $entry->getUrl(), $entry->getTitle()));
|
||||
|
||||
$publishedBy = $entry->getPublishedBy();
|
||||
$authors = $this->translator->trans('export.unknown');
|
||||
|
|
Loading…
Reference in a new issue