From c593ffd75f645e3881d6f9e58e2d9c01ed219e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 12 Nov 2018 12:42:10 -0500 Subject: [PATCH] closes #6944 --- src/upgrades/1.11.0/navigation_visibility_groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');