aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-05-31 09:08:34 +0200
committerGitHub <noreply@github.com>2017-05-31 09:08:34 +0200
commit7aa5607f297d5ef188d06cc3f808f9ff5bda83b2 (patch)
tree54dd8a5adbecfefca53a73ccb51c73b8b3cd48d0 /src/Wallabag/ImportBundle
parent2150576d86709968faec3ed7b8cdc576c0200ae2 (diff)
parent047fdc767aed03a92f37273eae2206f3d61fedc5 (diff)
downloadwallabag-7aa5607f297d5ef188d06cc3f808f9ff5bda83b2.tar.gz
wallabag-7aa5607f297d5ef188d06cc3f808f9ff5bda83b2.tar.zst
wallabag-7aa5607f297d5ef188d06cc3f808f9ff5bda83b2.zip
Merge pull request #3143 from wallabag/fix-wllbg2-import
Fixed is_starred for wallabag v2 import
Diffstat (limited to 'src/Wallabag/ImportBundle')
-rw-r--r--src/Wallabag/ImportBundle/Import/WallabagV2Import.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php
index d2a89d79..3e085ecf 100644
--- a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php
+++ b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php
@@ -36,8 +36,8 @@ class WallabagV2Import extends WallabagImport
36 return [ 36 return [
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' => (bool) ($entry['is_archived'] || $this->markAsRead),
40 'is_starred' => false, 40 'is_starred' => (bool) $entry['is_starred'],
41 ] + $entry; 41 ] + $entry;
42 } 42 }
43 43