Remove isset checks on isForm
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 30 Nov 2021 19:59:18 +0000 (08:59 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 30 Nov 2021 19:59:18 +0000 (08:59 +1300)
We are now assigning these from Core_Page so they should be set. If we do get
an enotice back from this then as long as it passes tests it will
be the lesser evil & picked up later

templates/CRM/Case/Form/ActivityTab.tpl

index 36c5aa293b180eb13ac969caeec054a8d17808e2..2b778bbcc49471472994854a483a37a8f3a3de96 100644 (file)
@@ -9,7 +9,7 @@
 *}
 {*this template is used for activity accordion*}
 {assign var=caseid value=$caseID}
-{if isset($isForm) and $isForm}
+{if $isForm}
   <div class="crm-accordion-wrapper crm-case_activities-accordion  crm-case-activities-block">
     <div class="crm-accordion-header">
       {ts}Activities{/ts}
     {/foreach}
   </style>
 
-{if isset($isForm) and $isForm}
+{if $isForm}
     </div><!-- /.crm-accordion-body -->
   </div><!-- /.crm-accordion-wrapper -->
 {/if}