aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper/ContentProxy.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-09-20 22:37:27 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-09-22 20:52:13 +0200
commit98f0929f168a336079456f65b6ca41e84b22efff (patch)
tree64d354d41c4188d4544c1841607225aad8e7233c /src/Wallabag/CoreBundle/Helper/ContentProxy.php
parentdb96045a0ae96cfe67bc98d49596fde31c9124fc (diff)
downloadwallabag-98f0929f168a336079456f65b6ca41e84b22efff.tar.gz
wallabag-98f0929f168a336079456f65b6ca41e84b22efff.tar.zst
wallabag-98f0929f168a336079456f65b6ca41e84b22efff.zip
Handle entry in language
Fix #1333
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/ContentProxy.php')
-rw-r--r--src/Wallabag/CoreBundle/Helper/ContentProxy.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
index 4565d8e7..3de8828f 100644
--- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php
+++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
@@ -49,6 +49,7 @@ class ContentProxy
49 $entry->setUrl($content['url'] ?: $url); 49 $entry->setUrl($content['url'] ?: $url);
50 $entry->setTitle($title); 50 $entry->setTitle($title);
51 $entry->setContent($html); 51 $entry->setContent($html);
52 $entry->setLanguage($content['language']);
52 $entry->setMimetype($content['content_type']); 53 $entry->setMimetype($content['content_type']);
53 54
54 if (isset($content['open_graph']['og_image'])) { 55 if (isset($content['open_graph']['og_image'])) {