Tell a Friend mail does not include event title
When using the Tell-a-Friend by mail option I found that the event title wasn't appearing in the mail subject.
This is configured in the System Workflow Message "Tell-a-Friend Email" as follows:
{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}
I eventually found that the title was not set up in CRM_Friend_Form /CRM/Friend/Form.php. Adding this line after line 97 should fix this:
$this->_title = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $this->_entityId, 'title');
I have added this code in my live version 5.4.0 code in the equivalent place ie after line 91 and it works in a WordPress site.
I'll submit a PR with this change.