$errors = array();
$linkCaseId = CRM_Utils_Array::value('link_to_case_id', $values);
- assert('is_numeric($linkeCaseId)');
+ assert('is_numeric($linkCaseId)');
if ($linkCaseId == CRM_Utils_Array::first($form->_caseId)) {
$errors['link_to_case'] = ts('Please select some other case to link.');
}
{* Block for change status, case type and start date. *}
{if $activityTypeFile EQ 'ChangeCaseStatus'
|| $activityTypeFile EQ 'ChangeCaseType'
+ || $activityTypeFile EQ 'LinkCases'
|| $activityTypeFile EQ 'ChangeCaseStartDate'}
{include file="CRM/Case/Form/Activity/$activityTypeFile.tpl"}
<tr class="crm-case-activity-form-block-details">