commit 57ebfcd55e4ad8906fcdb5dd6cc6e29c0a4a7c2c parent 00f11f4f064c3543f19ea46065e1b2cfc4784ed5 Author: Simon Kornblith <simon@simonster.com> Date: Thu, 19 Apr 2012 00:38:14 -0400 Fix typo Diffstat:
| M | 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 @@ -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;