diff options
author | adev <adev2000@gmail.com> | 2017-11-11 20:04:15 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-28 11:42:27 +0200 |
commit | 5f08426201c336f96d593954fb45b284d7e60f4a (patch) | |
tree | d4cf1267555aeeac5c457beefc15d40ba625726f /src/Wallabag/ImportBundle/Import | |
parent | bf9ace0643f654e7ccd9c020b8b501ad56cd19de (diff) | |
download | wallabag-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.php | 4 |
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; |