Remove forward incompatible syntax from template
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 24 Feb 2023 05:45:11 +0000 (18:45 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 24 Feb 2023 05:45:11 +0000 (18:45 +1300)
templates/CRM/Custom/Form/Edit/CustomField.tpl

index 119e8bbdabd8dcbc2e37ea045bf5bd47ae7fc220..fbf5ee179ef9ec2a378641cb1e7bc68fd74baa55 100644 (file)
@@ -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}
           <td class="labels font-light">{$formElement.$key.html}</td>
           {if $count == $element.options_per_line}
@@ -34,7 +34,7 @@
         <tr>
           {assign var="count" value="1"}
           {else}
-          {assign var="count" value=`$count+1`}
+          {assign var="count" value=$count+1}
           {/if}
           {/if}
           {/foreach}