Don't break when DOI is not a string

This commit is contained in:
Simon Kornblith 2013-03-07 19:46:37 -05:00
parent 5f4bb73564
commit acd6d38a1e

View file

@ -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();