Enotice tpl fix
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 1 Oct 2021 10:32:53 +0000 (23:32 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 1 Oct 2021 10:32:53 +0000 (23:32 +1300)
templates/CRM/Contact/Form/Task.tpl

index 63b55a5170ce8babdc84c0a4f383495dc15576db..ec171e0810e35304345be5fe9c024143a9bc1f73 100644 (file)
@@ -12,7 +12,7 @@
 {if !empty($searchtype) && $searchtype eq 'ts_sel'}
 <div id="popupContainer">
   <div class="crm-block crm-form-block crm-search-form-block">
-    <table id="selectedRecords-{$group.id}" class="display crm-copy-fields crm-sortable">
+    <table id="selectedRecords-{if !empty($group)}{$group.id}{/if}" class="display crm-copy-fields crm-sortable">
       <thead>
       <tr class="columnheader">
         <th class="contact_details">{ts}Name{/ts}</th>