Skip to content

Commit

Permalink
Use array_key_exists to avoid warning on report GroupBy.tpl template
Browse files Browse the repository at this point in the history
  • Loading branch information
braders committed Sep 27, 2022
1 parent 17f2c5a commit 6ffb3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/Report/Form/Tabs/GroupBy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{assign var="count" value=`$count+1`}
<td width="25%">
{$form.group_bys[$gbElem].html}
{if $form.group_bys_freq[$gbElem].html}:<br>
{if array_key_exists($gbElem, $form.group_bys_freq)}:<br>
&nbsp;&nbsp;{$form.group_bys_freq[$gbElem].label}&nbsp;{$form.group_bys_freq[$gbElem].html}
{/if}
</td>
Expand Down

0 comments on commit 6ffb3e2

Please sign in to comment.