Fix critical bug with note saving

This commit is contained in:
Dan Stillman 2007-03-29 13:16:07 +00:00
parent 28d4fef65b
commit 794349b374

View File

@ -1111,7 +1111,7 @@ Zotero.Item.prototype.updateNote = function(text){
if (sourceItemID) if (sourceItemID)
{ {
var sql = "REPLACE INTO itemNotes VALUES (?,?,?)"; var sql = "REPLACE INTO itemNotes VALUES (?,?,?)";
var bindParams = [{string:text}, sourceItemID, this.getID()]; var bindParams = [this.getID(), sourceItemID, {string:text}];
} }
else else
{ {