From bb98fede2b7c3e6eba8d47b2ce560d824d166b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 7 Dec 2016 16:01:50 +0100 Subject: Fixed imports with is_starred and is_archived --- src/Wallabag/ImportBundle/Import/ChromeImport.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Wallabag/ImportBundle/Import/ChromeImport.php') diff --git a/src/Wallabag/ImportBundle/Import/ChromeImport.php b/src/Wallabag/ImportBundle/Import/ChromeImport.php index 1a324934..2667890f 100644 --- a/src/Wallabag/ImportBundle/Import/ChromeImport.php +++ b/src/Wallabag/ImportBundle/Import/ChromeImport.php @@ -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), ]; -- cgit v1.2.3