From 5ec1b9560bd05ed428cd5934117231e8081e71a7 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Thu, 27 Oct 2022 15:08:16 -0400 Subject: [PATCH] Test for empty vv_attr_id for topLinks (CO-2527) --- app/templates/element/menuAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/element/menuAction.php b/app/templates/element/menuAction.php index 7027556ae..c49b7fb93 100644 --- a/app/templates/element/menuAction.php +++ b/app/templates/element/menuAction.php @@ -28,7 +28,7 @@ $actionsCount = count($vv_actions); $actionsCountClass = $actionsCount > 0 ? ' actions-count-' . $actionsCount : ''; $actionsMenuClass = 'field-actions-menu dropdown dropleft' . $actionsCountClass; -$actionsMenuUid = md5($vv_attr_mdl . $vv_attr_id); +$actionsMenuUid = md5($vv_attr_mdl . (!empty($vv_attr_id) ? $vv_attr_id : '')); ?>