Skip to content

Commit

Permalink
Test for empty vv_attr_id for topLinks (CO-2527)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Oct 27, 2022
1 parent e21e2b8 commit 5ec1b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/element/menuAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 : ''));
?>

<div id="action-menu_<?= $actionsMenuUid; ?>"
Expand Down

0 comments on commit 5ec1b95

Please sign in to comment.