aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-07-11 10:14:08 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-12-18 14:50:04 +0100
commitdfa18939e87c4e8f8f61124f3fcf6ae3f36fc44c (patch)
tree62433d759b5db39c354ba5bc2df3256ad2024d83 /src
parentc1c0f09949c85218b720280d84eca70dad51b65a (diff)
downloadwallabag-dfa18939e87c4e8f8f61124f3fcf6ae3f36fc44c.tar.gz
wallabag-dfa18939e87c4e8f8f61124f3fcf6ae3f36fc44c.tar.zst
wallabag-dfa18939e87c4e8f8f61124f3fcf6ae3f36fc44c.zip
Fixed review
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php1
-rw-r--r--src/Wallabag/CoreBundle/Helper/ContentProxy.php1
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