diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-12-04 19:30:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-04 19:30:11 +0100 |
commit | 4a1f963531f04427f625f58bda45723c6e69a87c (patch) | |
tree | f6e3a5e1c27279c09df0904727066ea1b967a7b3 /src/Wallabag/ImportBundle/Import/InstapaperImport.php | |
parent | 1093e979ff49f9072c30d1d576c6adf1f8e76bdf (diff) | |
parent | 106bdbcd0ab6c75937188dfce243167b878e9a8c (diff) | |
download | wallabag-4a1f963531f04427f625f58bda45723c6e69a87c.tar.gz wallabag-4a1f963531f04427f625f58bda45723c6e69a87c.tar.zst wallabag-4a1f963531f04427f625f58bda45723c6e69a87c.zip |
Merge pull request #2679 from jcharaoui/fix-2658
Fix content from imported entried being discarded when URL goes bad
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/InstapaperImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/InstapaperImport.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Import/InstapaperImport.php b/src/Wallabag/ImportBundle/Import/InstapaperImport.php index cf4c785c..70a53f1a 100644 --- a/src/Wallabag/ImportBundle/Import/InstapaperImport.php +++ b/src/Wallabag/ImportBundle/Import/InstapaperImport.php | |||
@@ -74,8 +74,7 @@ class InstapaperImport extends AbstractImport | |||
74 | 'status' => $data[3], | 74 | 'status' => $data[3], |
75 | 'is_archived' => $data[3] === 'Archive' || $data[3] === 'Starred', | 75 | 'is_archived' => $data[3] === 'Archive' || $data[3] === 'Starred', |
76 | 'is_starred' => $data[3] === 'Starred', | 76 | 'is_starred' => $data[3] === 'Starred', |
77 | 'content_type' => '', | 77 | 'html' => false, |
78 | 'language' => '', | ||
79 | ]; | 78 | ]; |
80 | } | 79 | } |
81 | fclose($handle); | 80 | fclose($handle); |