Skip to content

Commit

Permalink
Merge pull request #20711 from demeritcowboy/dashboard-err
Browse files Browse the repository at this point in the history
Some php warnings on case dashboard
  • Loading branch information
eileenmcnaughton authored Jun 28, 2021
2 parents 947f718 + 51521d8 commit 6152728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/CRM/Case/Form/CaseFilter.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Case/Page/DashBoard.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6152728

Please sign in to comment.