aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper/ContentProxy.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-18 15:09:21 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-18 15:09:21 +0100
commit10b3509757c704943aa9cdd69c1d02bedfa937a3 (patch)
tree2fee613487ecea37a2b938611dd3711248774818 /src/Wallabag/CoreBundle/Helper/ContentProxy.php
parentb060fbdfe763bf4fa2b17d43bccc6751cefd0d2c (diff)
downloadwallabag-10b3509757c704943aa9cdd69c1d02bedfa937a3.tar.gz
wallabag-10b3509757c704943aa9cdd69c1d02bedfa937a3.tar.zst
wallabag-10b3509757c704943aa9cdd69c1d02bedfa937a3.zip
Added http_status in Entry entity
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 1986ab33..178910ab 100644
--- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php
+++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
@@ -66,6 +66,7 @@ class ContentProxy
66 $entry->setUrl($content['url'] ?: $url); 66 $entry->setUrl($content['url'] ?: $url);
67 $entry->setTitle($title); 67 $entry->setTitle($title);
68 $entry->setContent($html); 68 $entry->setContent($html);
69 $entry->setHttpStatus(isset($content['status']) ? $content['status'] : '');
69 70
70 $entry->setLanguage($content['language']); 71 $entry->setLanguage($content['language']);
71 $entry->setMimetype($content['content_type']); 72 $entry->setMimetype($content['content_type']);