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