commit a207bf3817bfffa2903a3bcf2aacea76a4ca68f0
parent 9e78d62b1353cff668e2abf51d6da40d4aa0dfec
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 25 Jun 2006 05:26:53 +0000
Fixed error in History.add() call in Item.save() that was breaking new item inserts
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js
@@ -663,7 +663,7 @@ Scholar.Item.prototype.save = function(){
Scholar.DB.query(sql, sqlValues);
Scholar.History.add('itemData', 'itemID-fieldID',
- this.getField(fieldID));
+ [itemID, fieldID]);
}
}