aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2019-03-18 09:26:16 +0100
committerGitHub <noreply@github.com>2019-03-18 09:26:16 +0100
commit8ab5dcc467268de67f41ac0d008633edf46ae857 (patch)
tree57b0fdf5081dcf2500021f0f384871bb35ab25ea /src/Wallabag/CoreBundle/Helper
parent893f107fa1451050b478838c84dc85eb295c94b7 (diff)
parent41d476d7e74b752e693a1b70e68b8cb05045653f (diff)
downloadwallabag-8ab5dcc467268de67f41ac0d008633edf46ae857.tar.gz
wallabag-8ab5dcc467268de67f41ac0d008633edf46ae857.tar.zst
wallabag-8ab5dcc467268de67f41ac0d008633edf46ae857.zip
Merge pull request #3908 from wallabag/epub-issue-3642
epub: fix exception when articles have the same title
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper')
-rw-r--r--src/Wallabag/CoreBundle/Helper/EntriesExport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/EntriesExport.php b/src/Wallabag/CoreBundle/Helper/EntriesExport.php
index a2aa4d13..f981ee50 100644
--- a/src/Wallabag/CoreBundle/Helper/EntriesExport.php
+++ b/src/Wallabag/CoreBundle/Helper/EntriesExport.php
@@ -188,7 +188,7 @@ class EntriesExport
188 foreach ($entry->getTags() as $tag) { 188 foreach ($entry->getTags() as $tag) {
189 $book->setSubject($tag->getLabel()); 189 $book->setSubject($tag->getLabel());
190 } 190 }
191 $filename = sha1($entry->getTitle()); 191 $filename = sha1(sprintf('%s:%s', $entry->getUrl(), $entry->getTitle()));
192 192
193 $publishedBy = $entry->getPublishedBy(); 193 $publishedBy = $entry->getPublishedBy();
194 $authors = $this->translator->trans('export.unknown'); 194 $authors = $this->translator->trans('export.unknown');