X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FImport%2FFirefoxImport.php;h=c18e7e93e64e42679cbf66567b72b1a3a80064f4;hb=f808b01692a835673f328d7221ba8c212caa9b61;hp=d3f997703f0170f784a8f3a59783a5a20d6b0756;hpb=558d5199b9c5020773872c81cb9428ba75f6f490;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Import/FirefoxImport.php b/src/Wallabag/ImportBundle/Import/FirefoxImport.php index d3f99770..c18e7e93 100644 --- a/src/Wallabag/ImportBundle/Import/FirefoxImport.php +++ b/src/Wallabag/ImportBundle/Import/FirefoxImport.php @@ -39,12 +39,13 @@ 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), ]; - if (array_key_exists('tags', $entry) && $entry['tags'] != '') { + if (array_key_exists('tags', $entry) && $entry['tags'] !== '') { $data['tags'] = $entry['tags']; }