aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2019-06-05 11:38:00 +0200
committerGitHub <noreply@github.com>2019-06-05 11:38:00 +0200
commit16e1c07553d276f6a4df8fb0f2d1aa25026d73be (patch)
tree30771618e781968dbbc79fa7113db266017a35ae /src/Wallabag/CoreBundle/Helper
parent8671da5eadc93204f2742bb6b2b5b8fc1eddf131 (diff)
parentd8809f70ea3a2f88635827b37af23b2fc2a93db6 (diff)
downloadwallabag-16e1c07553d276f6a4df8fb0f2d1aa25026d73be.tar.gz
wallabag-16e1c07553d276f6a4df8fb0f2d1aa25026d73be.tar.zst
wallabag-16e1c07553d276f6a4df8fb0f2d1aa25026d73be.zip
Merge pull request #3271 from wallabag/store-resolved-url
Add `given_url` in Entry table to check if a redirected url has already added
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper')
-rw-r--r--src/Wallabag/CoreBundle/Helper/ContentProxy.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
index c6fa0d98..5901df8b 100644
--- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php
+++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
@@ -78,6 +78,8 @@ class ContentProxy
78 $entry->setUrl($url); 78 $entry->setUrl($url);
79 } 79 }
80 80
81 $entry->setGivenUrl($url);
82
81 $this->stockEntry($entry, $content); 83 $this->stockEntry($entry, $content);
82 } 84 }
83 85