Skip to content
Snippets Groups Projects
Commit 8d4a6b2f authored by lobo's avatar lobo
Browse files

Merge pull request #2425 from dlobo/CRM-14130

CRM-14130 - Undefined property: CRM_Core_DAO...reply.php
parents 483e3889 8c8b0e30
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,9 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
$eq = new CRM_Core_DAO();
$eq->query("SELECT $contacts.display_name as display_name,
$emails.email as email
$emails.email as email,
$queue.job_id as job_id,
$queue.hash as hash
FROM $queue
INNER JOIN $contacts
ON $queue.contact_id = $contacts.id
......@@ -144,7 +146,9 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
$b = $parsed->generateBody();
// strip Return-Path of possible bounding brackets, CRM-4502
$h['Return-Path'] = trim($h['Return-Path'], '<>');
if (!empty($h['Return-Path'])) {
$h['Return-Path'] = trim($h['Return-Path'], '<>');
}
// FIXME: ugly hack - find the first MIME boundary in
// the body and make the boundary in the header match it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment