From c9c2eb0e28526edfbff2d3c9e7ef49509793d2cc Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Thu, 15 Aug 2019 12:03:25 +0100 Subject: [PATCH] Enable view/revert delete action for detail logging --- CRM/Report/Form/Contact/LoggingSummary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form/Contact/LoggingSummary.php b/CRM/Report/Form/Contact/LoggingSummary.php index 97ebefc94b..4c98b4eb64 100644 --- a/CRM/Report/Form/Contact/LoggingSummary.php +++ b/CRM/Report/Form/Contact/LoggingSummary.php @@ -271,7 +271,7 @@ class CRM_Report_Form_Contact_LoggingSummary extends CRM_Logging_ReportSummary { $date = CRM_Utils_Date::isoToMysql($row['log_civicrm_entity_log_date']); - if ('Update' == CRM_Utils_Array::value('log_civicrm_entity_log_action', $row)) { + if (in_array(CRM_Utils_Array::value('log_civicrm_entity_log_action', $row), ['Update', 'Delete'])) { $row = $this->addDetailReportLinksToRow($baseQueryCriteria, $row); } -- 2.25.1