Fix failing test from 02ba9ca7
This commit is contained in:
parent
02ba9ca7f0
commit
a0cdf11096
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = {
|
|||
}
|
||||
|
||||
let attachments = [];
|
||||
let hasAttachments = item.getAttachments().length;
|
||||
let hasAttachments = !item.isAttachment && item.getAttachments().length;
|
||||
if (hasAttachments) {
|
||||
attachments = [{mimeType: "text/html", title: data.title, url: data.url}];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue