From f3a853c59b8ce4056785c11de3efb7a42af70a04 Mon Sep 17 00:00:00 2001 From: Rohan Katkar Date: Wed, 23 Jul 2014 16:47:39 +0530 Subject: [PATCH] Fix for CRM-15026 --- templates/CRM/Custom/Form/CustomData.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Custom/Form/CustomData.tpl b/templates/CRM/Custom/Form/CustomData.tpl index 3022505f4c..0960fae327 100644 --- a/templates/CRM/Custom/Form/CustomData.tpl +++ b/templates/CRM/Custom/Form/CustomData.tpl @@ -37,7 +37,7 @@ {if $cd_edit.help_post}
{$cd_edit.help_post}
{/if} - {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } + {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple > $cgCount ) ) } {/if} {else} @@ -79,7 +79,7 @@ {/if} - {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } + {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple > $cgCount ) ) } {if $skipTitle} {* We don't yet support adding new records in inline-edit forms *}
-- 2.25.1