From 3adb9c8391be41366bf63fd1bb49d0ef1980049e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 13 May 2010 07:42:28 +0000 Subject: [PATCH] Fix NS_ERROR_XPC_NOT_ENOUGH_ARGS when reading blob from database (which currently can happen only in the case of bad data) --- chrome/content/zotero/xpcom/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 9cc36b83c6..a456b11517 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -1216,7 +1216,7 @@ Zotero.DBConnection.prototype._getTypedValue = function (statement, i) { case statement.VALUE_TYPE_FLOAT: return statement.getDouble(i); case statement.VALUE_TYPE_BLOB: - return statement.getBlob(i); + return statement.getBlob(i, {}); } }