From 7b0b5d5ba703d0beabe5d30e8f48891a96f1433d Mon Sep 17 00:00:00 2001 From: Mustafa Ali Mutlu Date: Tue, 10 Dec 2019 01:16:45 +0300 Subject: [PATCH] [fix] Crash when exporting notes (#5677) Fixes https://github.com/koreader/koreader/issues/5609 --- plugins/evernote.koplugin/clip.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/evernote.koplugin/clip.lua b/plugins/evernote.koplugin/clip.lua index 59174ae96..917106f78 100644 --- a/plugins/evernote.koplugin/clip.lua +++ b/plugins/evernote.koplugin/clip.lua @@ -287,7 +287,7 @@ function MyClipping:parseHistoryFile(clippings, history_file, doc_file) title = title, author = author, } - self:parseHighlight(stored.highlight, stored.bookmarks, clippings.title) + self:parseHighlight(stored.highlight, stored.bookmarks, clippings[title]) end end @@ -318,7 +318,7 @@ function MyClipping:parseCurrentDoc(view) title = title, author = author, } - self:parseHighlight(view.highlight.saved, view.ui.bookmark.bookmarks, clippings.title) + self:parseHighlight(view.highlight.saved, view.ui.bookmark.bookmarks, clippings[title]) return clippings end