forked from wallabag/wallabag
Merge pull request #3143 from wallabag/fix-wllbg2-import
Fixed is_starred for wallabag v2 import
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user