diff --git a/www/common/migrate-user-object.js b/www/common/migrate-user-object.js index faef141a0..54c1c6111 100644 --- a/www/common/migrate-user-object.js +++ b/www/common/migrate-user-object.js @@ -179,7 +179,7 @@ define([ }).nThen(function () { // Migration 8: remove duplicate entries in proxy.FS_hashes (list of migrated anon drives) var fixDuplicate = function () { - userObject.FS_hashes = Util.deduplicateString(userObject.FS_hashes); + userObject.FS_hashes = Util.deduplicateString(userObject.FS_hashes || []); }; if (version < 8) { fixDuplicate();