Fix deletion of items without tags
This commit is contained in:
parent
2df1e34dc2
commit
a610595b84
1 changed files with 3 additions and 1 deletions
|
@ -370,7 +370,9 @@ Zotero.Tags = new function() {
|
|||
var toDelete = Zotero.DB.columnQuery(sql);
|
||||
|
||||
if (!toDelete) {
|
||||
Zotero.DB.rollbackTransaction();
|
||||
sql = "DROP TABLE tagDelete";
|
||||
Zotero.DB.query(sql);
|
||||
Zotero.DB.commitTransaction();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue