);
$hookCaseSummary = CRM_Utils_Hook::caseSummary($this->_caseID);
- if (is_array($hookCaseSummary)) {
- $this->assign('hookCaseSummary', $hookCaseSummary);
- }
+ $this->assign('hookCaseSummary', is_array($hookCaseSummary) ? $hookCaseSummary : NULL);
$allTags = CRM_Core_BAO_Tag::getColorTags('civicrm_case');
<th data-data="phone">{ts}Phone{/ts}</th>
<th data-data="email">{ts}Email{/ts}</th>
<th data-data="end_date">{ts}End Date{/ts}</th>
- {if $relId neq 'client' and $hasAccessToAllCases}
+ {if $hasAccessToAllCases}
<th data-data="actions" data-orderable="false">{ts}Actions{/ts}</th>
{/if}
</tr>