<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} {$form.upcoming.label}
{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