From 443f35e1f0c45071baa2690992af182334166241 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 10 Jan 2019 12:05:23 -0500 Subject: [PATCH] Fix undefined index warning --- CRM/Activity/Form/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Activity/Form/Activity.php b/CRM/Activity/Form/Activity.php index 0b0a1b564b..08c1928388 100644 --- a/CRM/Activity/Form/Activity.php +++ b/CRM/Activity/Form/Activity.php @@ -542,7 +542,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { if ($this->_action & CRM_Core_Action::VIEW) { $url = CRM_Utils_System::url(implode("/", $this->urlPath), "reset=1&id={$this->_activityId}&action=view&cid={$this->_values['source_contact_id']}"); - CRM_Utils_Recent::add($this->_values['subject'], + CRM_Utils_Recent::add(CRM_Utils_Array::value('subject', $this->_values, ts('(no subject)')), $url, $this->_values['id'], 'Activity', -- 2.25.1