www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 2d5c89cb9d33e5501d65f6b1da558c24874ccf46
parent fa82b66c9f042e6c1a11d32a53251d866e0190ab
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 12 Aug 2008 07:20:45 +0000

Fix error saving new creators after r3178



Diffstat:
Mchrome/content/zotero/xpcom/data/creator.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/data/creator.js b/chrome/content/zotero/xpcom/data/creator.js @@ -229,7 +229,9 @@ Zotero.Creator.prototype.save = function () { creatorID = insertID; } - this.updateLinkedItems(creatorID); + if (this.id) { + this.updateLinkedItems(); + } Zotero.DB.commitTransaction(); }