aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/FirefoxImport.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-08 09:07:09 +0100
committerGitHub <noreply@github.com>2016-12-08 09:07:09 +0100
commit75ae3c8d82f6e31319667c74dbbca98ab95c88c8 (patch)
tree9bb4ee70f9dc3de4a5b4e3062f18ebd5c8f0eae4 /src/Wallabag/ImportBundle/Import/FirefoxImport.php
parent2d4b167038ed9e25ebf23eed53a4bc88f17a4b00 (diff)
parentbb98fede2b7c3e6eba8d47b2ce560d824d166b49 (diff)
downloadwallabag-75ae3c8d82f6e31319667c74dbbca98ab95c88c8.tar.gz
wallabag-75ae3c8d82f6e31319667c74dbbca98ab95c88c8.tar.zst
wallabag-75ae3c8d82f6e31319667c74dbbca98ab95c88c8.zip
Merge pull request #2688 from wallabag/fix-browsers-import
Fixed imports with is_starred and is_archived
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/FirefoxImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/FirefoxImport.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/FirefoxImport.php b/src/Wallabag/ImportBundle/Import/FirefoxImport.php
index d3f99770..c50c69b3 100644
--- a/src/Wallabag/ImportBundle/Import/FirefoxImport.php
+++ b/src/Wallabag/ImportBundle/Import/FirefoxImport.php
@@ -39,7 +39,8 @@ class FirefoxImport extends BrowserImport
39 'title' => $entry['title'], 39 'title' => $entry['title'],
40 'html' => false, 40 'html' => false,
41 'url' => $entry['uri'], 41 'url' => $entry['uri'],
42 'is_archived' => $this->markAsRead, 42 'is_archived' => (int) $this->markAsRead,
43 'is_starred' => false,
43 'tags' => '', 44 'tags' => '',
44 'created_at' => substr($entry['dateAdded'], 0, 10), 45 'created_at' => substr($entry['dateAdded'], 0, 10),
45 ]; 46 ];