Merge pull request #1592 from amitsharma322/gli-2888

Fixed : show undefined array key warning when trying to delete a cart rule in the back-office.
This commit is contained in:
Rohit Jain
2026-01-24 14:08:30 +05:30
committed by GitHub

View File

@@ -41,7 +41,7 @@
{if $action.type == 'link'}
<a href="{$action.href}" class="btn {$action.class}">{$action.label}</a>
{elseif $action.type == 'button'}
<button type="button" value="{$action.value}" class="btn {$action.class}">
<button type="button" value="{$action.value|default:''}" class="btn {$action.class}">
{$action.label}
</button>
{/if}