From 8c2b0ce269842196c6e47af9cb599db68c5093cc Mon Sep 17 00:00:00 2001 From: chriscant Date: Mon, 20 Aug 2018 10:14:50 +0100 Subject: [PATCH] Get title for event tell a friend mail --- CRM/Friend/Form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Friend/Form.php b/CRM/Friend/Form.php index 9b2a9c9f76..459384ca45 100644 --- a/CRM/Friend/Form.php +++ b/CRM/Friend/Form.php @@ -95,6 +95,7 @@ class CRM_Friend_Form extends CRM_Core_Form { if ($pcomponent == 'event') { $this->_entityTable = 'civicrm_event'; $isShare = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $this->_entityId, 'is_share'); + $this->_title = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $this->_entityId, 'title'); } else { $isShare = CRM_Utils_Array::value('is_share', $values); -- 2.25.1