diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js index 322977a571..c4c93c5643 100644 --- a/chrome/content/zotero/xpcom/search.js +++ b/chrome/content/zotero/xpcom/search.js @@ -345,7 +345,7 @@ Zotero.Search.prototype.save = function(fixGaps) { if (isNew && this.libraryID) { - var groupID = Zotero.Libraries.getGroupIDFromLibraryID(this.libraryID); + var groupID = Zotero.Groups.getGroupIDFromLibraryID(this.libraryID); var group = Zotero.Groups.get(groupID); group.clearSearchCache(); }