From 08562e50cd1997de27c7b849d2a0231484e457f9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 8 Jan 2016 03:44:38 -0500 Subject: [PATCH] Fixes #877, getPrimaryIDForType doesn't work due to typo --- chrome/content/zotero/xpcom/connector/cachedTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/connector/cachedTypes.js b/chrome/content/zotero/xpcom/connector/cachedTypes.js index 2156ebaf98..369e8d863c 100644 --- a/chrome/content/zotero/xpcom/connector/cachedTypes.js +++ b/chrome/content/zotero/xpcom/connector/cachedTypes.js @@ -120,7 +120,7 @@ Zotero.Connector_Types = new function() { this.getPrimaryIDForType = function(idOrName) { var itemType = itemTypes[idOrName]; if(!itemType) return false; - return itemTypes[3]/* creatorTypes */[0]; + return itemType[3]/* creatorTypes */[0]; }; }