Fix upgrade problem with attachment dirs beginning with numbers
This commit is contained in:
parent
91b2fb99f1
commit
d4b4dbf940
|
@ -1565,7 +1565,7 @@ Zotero.Schema = new function(){
|
|||
var file = entries.getNext();
|
||||
file.QueryInterface(Components.interfaces.nsILocalFile);
|
||||
var id = parseInt(file.leafName);
|
||||
if (!file.isDirectory() || isNaN(id)) {
|
||||
if (!file.isDirectory() || file.leafName != id) {
|
||||
continue;
|
||||
}
|
||||
if (keys[id]) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user