projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cec228
)
CRM-16719: fixed duration total
author
Kurund Jalmi
<kurund@yahoo.com>
Mon, 17 Aug 2015 11:49:50 +0000
(17:19 +0530)
committer
Kurund Jalmi
<kurund@yahoo.com>
Wed, 19 Aug 2015 17:47:07 +0000
(23:17 +0530)
CRM/Report/Form/ActivitySummary.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form/ActivitySummary.php
b/CRM/Report/Form/ActivitySummary.php
index 1a36fb15ba72ee31ee5c62a9b45c9e2d086b13e0..8256629892a91d6684fc7248a54df0cbb94df229 100644
(file)
--- 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;
}