]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Import/FirefoxImport.php
Fixed imports with is_starred and is_archived
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Import / FirefoxImport.php
index d3f997703f0170f784a8f3a59783a5a20d6b0756..c50c69b3aa42880c9b9cd03a41c03c467add59fa 100644 (file)
@@ -39,7 +39,8 @@ class FirefoxImport extends BrowserImport
             'title' => $entry['title'],
             'html' => false,
             'url' => $entry['uri'],
-            'is_archived' => $this->markAsRead,
+            'is_archived' => (int) $this->markAsRead,
+            'is_starred' => false,
             'tags' => '',
             'created_at' => substr($entry['dateAdded'], 0, 10),
         ];