From: Eileen McNaughton Date: Fri, 24 Feb 2023 05:45:11 +0000 (+1300) Subject: Remove forward incompatible syntax from template X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ba167142de00869611d70f63b3097efba3b470e5;p=civicrm-core.git Remove forward incompatible syntax from template --- diff --git a/templates/CRM/Custom/Form/Edit/CustomField.tpl b/templates/CRM/Custom/Form/Edit/CustomField.tpl index 119e8bbdab..fbf5ee179e 100644 --- a/templates/CRM/Custom/Form/Edit/CustomField.tpl +++ b/templates/CRM/Custom/Form/Edit/CustomField.tpl @@ -26,7 +26,7 @@ {assign var="index" value="1"} {foreach name=outer key=key item=item from=$formElement} {if $index < 10} - {assign var="index" value=`$index+1`} + {assign var="index" value=$index+1} {else} {$formElement.$key.html} {if $count == $element.options_per_line} @@ -34,7 +34,7 @@ {assign var="count" value="1"} {else} - {assign var="count" value=`$count+1`} + {assign var="count" value=$count+1} {/if} {/if} {/foreach}