From: Pradeep Nayak Date: Fri, 10 Jul 2020 23:49:41 +0000 (+0100) Subject: Fixed notice error on Relationships report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=363a1cb3f119c59840c17fa7bc3a68476e3c5ea8;p=civicrm-core.git Fixed notice error on Relationships report --- 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) {