diff --git a/src/upgrades/1.11.0/navigation_visibility_groups.js b/src/upgrades/1.11.0/navigation_visibility_groups.js index f0c45cd6fd..c6d88a4d24 100644 --- a/src/upgrades/1.11.0/navigation_visibility_groups.js +++ b/src/upgrades/1.11.0/navigation_visibility_groups.js @@ -14,7 +14,7 @@ module.exports = { }, function (data, next) { data.forEach(function (navItem) { - if (navItem) { + if (navItem && navItem.properties) { navItem.groups = []; if (navItem.properties.adminOnly) { navItem.groups.push('administrators');