mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
Merge pull request #3143 from wallabag/fix-wllbg2-import
Fixed is_starred for wallabag v2 import
This commit is contained in:
commit
7aa5607f29
3 changed files with 4 additions and 3 deletions
|
@ -36,8 +36,8 @@ class WallabagV2Import extends WallabagImport
|
|||
return [
|
||||
'html' => $entry['content'],
|
||||
'content_type' => $entry['mimetype'],
|
||||
'is_archived' => (int) ($entry['is_archived'] || $this->markAsRead),
|
||||
'is_starred' => false,
|
||||
'is_archived' => (bool) ($entry['is_archived'] || $this->markAsRead),
|
||||
'is_starred' => (bool) $entry['is_starred'],
|
||||
] + $entry;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue