From: Rohan Katkar Date: Wed, 23 Jul 2014 11:17:39 +0000 (+0530) Subject: Fix for CRM-15026 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f3a853c59b8ce4056785c11de3efb7a42af70a04;p=civicrm-core.git Fix for CRM-15026 --- 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 *}