diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 1 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/ContentProxy.php | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index 3ac0f8a6..b7fdea27 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -78,7 +78,6 @@ class EntryController extends Controller | |||
78 | return $this->redirect($this->generateUrl('view', ['id' => $existingEntry->getId()])); | 78 | return $this->redirect($this->generateUrl('view', ['id' => $existingEntry->getId()])); |
79 | } | 79 | } |
80 | 80 | ||
81 | $entry->setGivenUrl($entry->getUrl()); | ||
82 | $this->updateEntry($entry); | 81 | $this->updateEntry($entry); |
83 | 82 | ||
84 | $em = $this->getDoctrine()->getManager(); | 83 | $em = $this->getDoctrine()->getManager(); |
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index fe795d42..48b5dfbc 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -65,6 +65,7 @@ class ContentProxy | |||
65 | // so we'll be able to refetch it in the future | 65 | // so we'll be able to refetch it in the future |
66 | $content['url'] = !empty($content['url']) ? $content['url'] : $url; | 66 | $content['url'] = !empty($content['url']) ? $content['url'] : $url; |
67 | 67 | ||
68 | $entry->setGivenUrl($url); | ||
68 | $this->stockEntry($entry, $content); | 69 | $this->stockEntry($entry, $content); |
69 | } | 70 | } |
70 | 71 | ||