1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

All: Fixes #150: Extra comma causes crash

This commit is contained in:
Laurent Cozic
2018-01-09 19:45:08 +00:00
parent a8576a55d6
commit e9268edeff
3 changed files with 10 additions and 2 deletions

View File

@ -611,7 +611,7 @@ class BaseItem extends BaseModel {
SELECT id
FROM %s
WHERE encryption_applied = 0`,
this.db().escapeField(ItemClass.tableName()),
this.db().escapeField(ItemClass.tableName())
);
const items = await ItemClass.modelSelectAll(sql);