www

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

commit 3adb9c8391be41366bf63fd1bb49d0ef1980049e
parent 0821e34b209514b2edf2f87abf9cb124d6ee0066
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 13 May 2010 07:42:28 +0000

Fix NS_ERROR_XPC_NOT_ENOUGH_ARGS when reading blob from database (which currently can happen only in the case of bad data)


Diffstat:
Mchrome/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 @@ -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, {}); } }