Get title for event tell a friend mail
authorchriscant <chris@phdcc.com>
Mon, 20 Aug 2018 09:14:50 +0000 (10:14 +0100)
committerchriscant <chris@phdcc.com>
Mon, 20 Aug 2018 09:14:50 +0000 (10:14 +0100)
CRM/Friend/Form.php

index 9b2a9c9f765540efcb5a4c9a63e36c8eb216eadc..459384ca45346caca661dbe292c34e5c1cdc1255 100644 (file)
@@ -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);