diff --git a/chrome/content/zotero/xpcom/openurl.js b/chrome/content/zotero/xpcom/openurl.js index 8600782b6..509673bbb 100644 --- a/chrome/content/zotero/xpcom/openurl.js +++ b/chrome/content/zotero/xpcom/openurl.js @@ -105,8 +105,8 @@ Zotero.OpenURL = new function() { } } - if(item.toArray) { - item = item.toArray(); + if (item.toJSON) { + item = item.toJSON(); } // find pmid