www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit acd6d38a1eadbee377ffe56f3914c290247d550b
parent 5f4bb7356467bfa1f986eb0a7fed609783d1f6ce
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu,  7 Mar 2013 19:46:37 -0500

Don't break when DOI is not a string

Diffstat:
Mchrome/content/zotero/xpcom/duplicates.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/duplicates.js b/chrome/content/zotero/xpcom/duplicates.js @@ -209,7 +209,7 @@ Zotero.Duplicates.prototype._findDuplicates = function () { var doiCache = {}; if (rows) { for each(var row in rows) { - doiCache[row.itemID] = row.value.trim(); + doiCache[row.itemID] = row.value.toString().trim(); } } processRows();