diff --git a/admin-dev/themes/default/template/helpers/list/list_content.tpl b/admin-dev/themes/default/template/helpers/list/list_content.tpl index 7ed0fbe27..2ae134ec7 100644 --- a/admin-dev/themes/default/template/helpers/list/list_content.tpl +++ b/admin-dev/themes/default/template/helpers/list/list_content.tpl @@ -136,25 +136,25 @@ {/if} {if $has_actions} -
- {foreach $actions AS $key => $action} - {if isset($tr.$action)} - {if $key==0} - - {$tr.$action} - - +
+ + {assign var='action' value=$actions[0]} + {$tr.$action} + + {if count($actions) > 1} + {/if} - {/foreach} -
{/if}