aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import
diff options
context:
space:
mode:
authoradev <adev2000@gmail.com>2017-11-11 20:04:15 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-05-28 11:42:27 +0200
commit5f08426201c336f96d593954fb45b284d7e60f4a (patch)
treed4cf1267555aeeac5c457beefc15d40ba625726f /src/Wallabag/ImportBundle/Import
parentbf9ace0643f654e7ccd9c020b8b501ad56cd19de (diff)
downloadwallabag-5f08426201c336f96d593954fb45b284d7e60f4a.tar.gz
wallabag-5f08426201c336f96d593954fb45b284d7e60f4a.tar.zst
wallabag-5f08426201c336f96d593954fb45b284d7e60f4a.zip
Fix because of some breaking changes of Graby 2.0
Diffstat (limited to 'src/Wallabag/ImportBundle/Import')
-rw-r--r--src/Wallabag/ImportBundle/Import/WallabagV2Import.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php
index 3e085ecf..2ba26003 100644
--- a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php
+++ b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php
@@ -35,7 +35,9 @@ class WallabagV2Import extends WallabagImport
35 { 35 {
36 return [ 36 return [
37 'html' => $entry['content'], 37 'html' => $entry['content'],
38 'content_type' => $entry['mimetype'], 38 'headers' => [
39 'content-type' => $entry['mimetype'],
40 ],
39 'is_archived' => (bool) ($entry['is_archived'] || $this->markAsRead), 41 'is_archived' => (bool) ($entry['is_archived'] || $this->markAsRead),
40 'is_starred' => (bool) $entry['is_starred'], 42 'is_starred' => (bool) $entry['is_starred'],
41 ] + $entry; 43 ] + $entry;