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:
7a67a90
)
CRM-15981 - Fix case activity revision table
author
Coleman Watts
<coleman@civicrm.org>
Tue, 17 Feb 2015 02:40:58 +0000
(21:40 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 17 Feb 2015 02:40:58 +0000
(21:40 -0500)
CRM/Activity/BAO/Activity.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Activity/BAO/Activity.php
b/CRM/Activity/BAO/Activity.php
index 39d28852dcc36585849b2f90b3eb36f3791a1e8c..61fdb3c53f3c5fe6300a6a26b40eb3acb39ed375 100644
(file)
--- a/
CRM/Activity/BAO/Activity.php
+++ b/
CRM/Activity/BAO/Activity.php
@@
-1994,6
+1994,9
@@
AND id < {$activityID}
$activityID,
'original_id'
);
+ if (!$originalID) {
+ $originalID = $activityID;
+ }
if ($originalID) {
$query = "
SELECT c.display_name as name, cl.modified_date as date, ca.id as activityID