diff --git a/chrome/content/zotero/xpcom/data/libraries.js b/chrome/content/zotero/xpcom/data/libraries.js index 7e4d29fe9a..15659af806 100644 --- a/chrome/content/zotero/xpcom/data/libraries.js +++ b/chrome/content/zotero/xpcom/data/libraries.js @@ -92,7 +92,7 @@ Zotero.Libraries = new function () { this.getType = function (libraryID) { - if (libraryID === 0) { + if (this.dbLibraryID(libraryID) === 0) { return 'user'; } if (!_libraryData[libraryID]) {