Skip empty tags from connector

This commit is contained in:
Dan Stillman 2018-10-10 06:03:15 -04:00
parent c65ca34afe
commit bd5fca3c23

View file

@ -302,7 +302,7 @@ Zotero.Server.Connector.SaveSession.prototype._updateItems = Zotero.serial(async
var libraryID = library.libraryID;
var tags = this._currentTags.trim();
tags = tags ? tags.split(/\s*,\s*/) : [];
tags = tags ? tags.split(/\s*,\s*/).filter(x => x) : [];
Zotero.debug("Updating items for connector save session " + this.id);