$this->assign('latestRevisionID', $latestRevisionID);
}
else {
+ $this->assign('revs', 0);
if (count($viewPriorActivities) > 1) {
$this->assign('activityID', $activityID);
}
}
$parentID = CRM_Activity_BAO_Activity::getParentActivity($activityID);
- if ($parentID) {
- $this->assign('parentID', $parentID);
- }
+ $this->assign('parentID', $parentID ?? NULL);
//viewing activity should get diplayed in recent list.CRM-4670
$activityTypeID = CRM_Core_DAO::getFieldValue('CRM_Activity_DAO_Activity', $activityID, 'activity_type_id');