diff --git a/CRM/I3val/Form/Desktop.php b/CRM/I3val/Form/Desktop.php index ceb7306..ae89542 100644 --- a/CRM/I3val/Form/Desktop.php +++ b/CRM/I3val/Form/Desktop.php @@ -314,7 +314,7 @@ protected function renderActivity(&$activity) { $activity['with_name'] = $contact['display_name']; $activity['with_id'] = $contact['id']; $activity['with_link'] = CRM_Utils_System::url("civicrm/contact/view", "reset=1&cid={$contact['id']}"); - $activity['image'] = CRM_Contact_BAO_Contact_Utils::getImage(empty($this->contact['contact_sub_type']) ? $this->contact['contact_sub'] : $this->contact['contact_sub_type'], FALSE, $this->contact['id']); + $activity['image'] = CRM_Contact_BAO_Contact_Utils::getImage(empty($this->contact['contact_sub_type']) ? $this->contact['contact_type'] : $this->contact['contact_sub_type'], FALSE, $this->contact['id']); // load the status