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

This commit is contained in:
Dan Stillman 2010-05-13 07:42:28 +00:00
parent 0821e34b20
commit 3adb9c8391

View file

@ -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, {});
}
}