From 4c707d087b9989d6cd2f21d3141eca1fe9c3f969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 23 May 2017 17:07:26 +0200 Subject: Fixed is_starred for wallabag v2 import --- src/Wallabag/ImportBundle/Import/WallabagV2Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Wallabag/ImportBundle') diff --git a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php index d2a89d79..2603503c 100644 --- a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php +++ b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php @@ -37,7 +37,7 @@ class WallabagV2Import extends WallabagImport 'html' => $entry['content'], 'content_type' => $entry['mimetype'], 'is_archived' => (int) ($entry['is_archived'] || $this->markAsRead), - 'is_starred' => false, + 'is_starred' => (int) $entry['is_starred'], ] + $entry; } -- cgit v1.2.3