From eadfd5456f84ca3c5576530b984a4a60452b71fe Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Wed, 29 May 2013 15:06:28 +0530 Subject: [PATCH] do not repeat custom data edit button for custom data with multiple values --- templates/CRM/Custom/Page/CustomDataView.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Custom/Page/CustomDataView.tpl b/templates/CRM/Custom/Page/CustomDataView.tpl index 81cd70ede8..e67b91ffe6 100644 --- a/templates/CRM/Custom/Page/CustomDataView.tpl +++ b/templates/CRM/Custom/Page/CustomDataView.tpl @@ -29,7 +29,7 @@ {foreach from=$customValues item=cd_edit key=cvID} {assign var='index' value=$groupId|cat:"_$cvID"} - {if $editOwnCustomData or ($showEdit and $editCustomData and $groupId)} + {if ($editOwnCustomData and $showEdit) or ($showEdit and $editCustomData and $groupId)}