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:
parent
0821e34b20
commit
3adb9c8391
1 changed files with 1 additions and 1 deletions
|
@ -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, {});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue