From 3674ed5684826fe661bb19a8227b1b87d9ea9b52 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 4 Apr 2007 23:51:24 +0000 Subject: [PATCH] closes #608, #608: zotero rdf import error: 'shortTitle' is not a valid field for type 14 --- chrome/content/zotero/xpcom/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js index 3df647640..71ddd3e7a 100644 --- a/chrome/content/zotero/xpcom/translate.js +++ b/chrome/content/zotero/xpcom/translate.js @@ -1193,7 +1193,7 @@ Zotero.Translate.prototype._itemDone = function(item, attachedTo) { } // create short title - if(item.shortTitle === undefined) { + if(item.shortTitle === undefined && Zotero.ItemFields.isValidForType("shortTitle", typeID)) { // get field id var fieldID = Zotero.ItemFields.getFieldIDFromTypeAndBase(typeID, "title"); // get title