From 363a1cb3f119c59840c17fa7bc3a68476e3c5ea8 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Sat, 11 Jul 2020 00:49:41 +0100 Subject: [PATCH] Fixed notice error on Relationships report --- CRM/Report/Form/Contact/Relationship.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Report/Form/Contact/Relationship.php b/CRM/Report/Form/Contact/Relationship.php index d6873e3408..e9857ecf8e 100644 --- a/CRM/Report/Form/Contact/Relationship.php +++ b/CRM/Report/Form/Contact/Relationship.php @@ -250,6 +250,7 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form { ], 'is_active' => [ 'title' => ts('Is active?'), + 'type' => CRM_Utils_Type::T_BOOLEAN, ], 'relationship_id' => [ 'title' => ts('Rel ID'), @@ -772,8 +773,6 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form { $entryFound = TRUE; } - $rows[$rowNum]['civicrm_relationship_is_active'] = $row['civicrm_relationship_is_active'] ? ts('Yes') : ''; - // skip looking further in rows, if first row itself doesn't // have the column we need if (!$entryFound) { -- 2.25.1