aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper/ContentProxy.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-19 11:53:41 +0100
committerGitHub <noreply@github.com>2016-11-19 11:53:41 +0100
commit8add306204f2ad331dafe091bb9d168ce7781df7 (patch)
tree109a91745ba45ae886222d2e34b9491a2d0d3b00 /src/Wallabag/CoreBundle/Helper/ContentProxy.php
parentb060fbdfe763bf4fa2b17d43bccc6751cefd0d2c (diff)
parentd215273c65ed7aecf0a1f887c91752eaf41d191b (diff)
downloadwallabag-8add306204f2ad331dafe091bb9d168ce7781df7.tar.gz
wallabag-8add306204f2ad331dafe091bb9d168ce7781df7.tar.zst
wallabag-8add306204f2ad331dafe091bb9d168ce7781df7.zip
Merge pull request #2601 from wallabag/store-http-status
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']);