From 51521d8fcb25a9d11dc5c07a77701f65cbda76d5 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Fri, 25 Jun 2021 12:29:35 -0400 Subject: [PATCH] php warnings --- templates/CRM/Case/Form/CaseFilter.tpl | 2 +- templates/CRM/Case/Page/DashBoard.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Case/Form/CaseFilter.tpl b/templates/CRM/Case/Form/CaseFilter.tpl index c078bcee54..4b425c00e1 100644 --- a/templates/CRM/Case/Form/CaseFilter.tpl +++ b/templates/CRM/Case/Form/CaseFilter.tpl @@ -21,7 +21,7 @@ {$form.case_status_id.label}
{$form.case_status_id.html} - {if $accessAllCases && $form.upcoming} + {if $accessAllCases && isset($form.upcoming)}
{$form.upcoming.html} {$form.upcoming.label} diff --git a/templates/CRM/Case/Page/DashBoard.tpl b/templates/CRM/Case/Page/DashBoard.tpl index f8bcfce4db..41f19e33f4 100644 --- a/templates/CRM/Case/Page/DashBoard.tpl +++ b/templates/CRM/Case/Page/DashBoard.tpl @@ -56,7 +56,7 @@ {foreach from=$casesSummary.headers item=header} {assign var="caseStatus" value=$header.status} - {if $row.$caseStatus} + {if isset($row.$caseStatus)} {$row.$caseStatus.count} {else} 0 -- 2.25.1