commit 08562e50cd1997de27c7b849d2a0231484e457f9 parent 818ef28f88f014c1d040a6d39574ee2febfca4cb Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 8 Jan 2016 03:44:38 -0500 Fixes #877, getPrimaryIDForType doesn't work due to typo Diffstat:
| M | 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 @@ -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]; }; }