diff --git a/src/js/dao/email-dao.js b/src/js/dao/email-dao.js index 4e7dc06..294a39a 100644 --- a/src/js/dao/email-dao.js +++ b/src/js/dao/email-dao.js @@ -1346,7 +1346,7 @@ define(function(require) { path: folder.path })) { // remove the obsolete folder - self._account.folders.splice(self._account.folder.indexOf(folder), 1); + self._account.folders.splice(self._account.folders.indexOf(folder), 1); foldersChanged = true; } });