diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-23 17:07:26 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-24 15:36:41 +0200 |
commit | 4c707d087b9989d6cd2f21d3141eca1fe9c3f969 (patch) | |
tree | 9ce17e2eade28291fc6a0d90091a477a9ad5255c /src | |
parent | 35941d57ee4d06ec3557d4b126d5f6fd263bcf3a (diff) | |
download | wallabag-4c707d087b9989d6cd2f21d3141eca1fe9c3f969.tar.gz wallabag-4c707d087b9989d6cd2f21d3141eca1fe9c3f969.tar.zst wallabag-4c707d087b9989d6cd2f21d3141eca1fe9c3f969.zip |
Fixed is_starred for wallabag v2 import
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/WallabagV2Import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php index d2a89d79..2603503c 100644 --- a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php +++ b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php | |||
@@ -37,7 +37,7 @@ class WallabagV2Import extends WallabagImport | |||
37 | 'html' => $entry['content'], | 37 | 'html' => $entry['content'], |
38 | 'content_type' => $entry['mimetype'], | 38 | 'content_type' => $entry['mimetype'], |
39 | 'is_archived' => (int) ($entry['is_archived'] || $this->markAsRead), | 39 | 'is_archived' => (int) ($entry['is_archived'] || $this->markAsRead), |
40 | 'is_starred' => false, | 40 | 'is_starred' => (int) $entry['is_starred'], |
41 | ] + $entry; | 41 | ] + $entry; |
42 | } | 42 | } |
43 | 43 | ||