From 57ebfcd55e4ad8906fcdb5dd6cc6e29c0a4a7c2c Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 19 Apr 2012 00:38:14 -0400 Subject: [PATCH] Fix typo --- chrome/content/zotero/tools/testTranslators/translatorTester.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index ab495c0da7..96547aecb8 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -225,7 +225,7 @@ Zotero_TranslatorTester._sanitizeItem = function(item, testItem) { continue; } - if((!item[field] && (!testItem || item[field] !== false) + if((!item[field] && (!testItem || item[field] !== false)) || !(fieldID = Zotero.ItemFields.getID(field))) { delete item[field]; continue;