php warnings
authordemeritcowboy <demeritcowboy@hotmail.com>
Fri, 25 Jun 2021 16:29:35 +0000 (12:29 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Fri, 25 Jun 2021 16:29:35 +0000 (12:29 -0400)
templates/CRM/Case/Form/CaseFilter.tpl
templates/CRM/Case/Page/DashBoard.tpl

index c078bcee54e136c1dff29454dca56adb98a5a968..4b425c00e10e8bb768a088eeba706bf4184f41f1 100644 (file)
@@ -21,7 +21,7 @@
           <td class="crm-contact-form-block-case_status_id crm-inline-edit-field">
             {$form.case_status_id.label}<br /> {$form.case_status_id.html}
           </td>
-          {if $accessAllCases && $form.upcoming}
+          {if $accessAllCases && isset($form.upcoming)}
             <td class="crm-case-dashboard-switch-view-buttons">
               <br/>
               {$form.upcoming.html}&nbsp;{$form.upcoming.label}
index f8bcfce4db509f302773f5a2219779ec1f3341d3..41f19e33f408f895e3297aed2dd946b209600799 100644 (file)
@@ -56,7 +56,7 @@
           {foreach from=$casesSummary.headers item=header}
             {assign var="caseStatus" value=$header.status}
             <td class="label">
-              {if $row.$caseStatus}
+              {if isset($row.$caseStatus)}
                 <a class="crm-case-summary-drilldown" href="{$row.$caseStatus.url}">{$row.$caseStatus.count}</a>
               {else}
                 0