diff --git a/chrome/content/zotero/xpcom/data/dataObject.js b/chrome/content/zotero/xpcom/data/dataObject.js index 62086082cc..20f0a9c3b3 100644 --- a/chrome/content/zotero/xpcom/data/dataObject.js +++ b/chrome/content/zotero/xpcom/data/dataObject.js @@ -584,7 +584,7 @@ Zotero.DataObject.prototype.save = Zotero.Promise.coroutine(function* (options) Zotero.debug(e2, 1); }) .then(function() { - if (options.errorHandler(e)) { + if (options.errorHandler) { options.errorHandler(e); } else {