From: Kurund Jalmi Date: Mon, 17 Aug 2015 11:49:50 +0000 (+0530) Subject: CRM-16719: fixed duration total X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e6143637c457d8b5be158a7afbd86df3b8cf4cff;p=civicrm-core.git CRM-16719: fixed duration total --- diff --git a/CRM/Report/Form/ActivitySummary.php b/CRM/Report/Form/ActivitySummary.php index 1a36fb15ba..8256629892 100644 --- a/CRM/Report/Form/ActivitySummary.php +++ b/CRM/Report/Form/ActivitySummary.php @@ -610,6 +610,13 @@ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form { } } + if (array_key_exists('civicrm_activity_duration', $row)) { + if ($value = $row['civicrm_activity_duration']) { + $rows[$rowNum]['civicrm_activity_duration'] += $rows[$rowNum]['civicrm_activity_duration']; + $entryFound = TRUE; + } + } + if (!$entryFound) { break; }