Skip to content
Snippets Groups Projects
Unverified Commit adc250cc authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #22025 from demeritcowboy/aggregate-smarty2

report#77 - Smarty warning about relationship in contribute/history civireport
parents 56243144 2123ee37
No related branches found
No related tags found
No related merge requests found
......@@ -821,6 +821,11 @@ class CRM_Report_Form_Contribute_History extends CRM_Report_Form {
$rows[$rowNum] = $row;
}
// The main rows don't have this set so gives a smarty warning.
if (!isset($row['civicrm_relationship_relationship_type_id'])) {
$rows[$rowNum]['civicrm_relationship_relationship_type_id'] = '';
}
// Convert Display name into link
if (!empty($row['civicrm_contact_sort_name']) &&
!empty($row['civicrm_contact_id'])
......
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