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:
b18e2d7
)
Record change log entry when contact is moved to or restored from trash.
author
mark burdett
<mfburdett@gmail.com>
Fri, 14 Dec 2018 01:10:38 +0000
(17:10 -0800)
committer
mark burdett
<mfburdett@gmail.com>
Fri, 14 Dec 2018 01:10:38 +0000
(17:10 -0800)
CRM/Contact/BAO/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Contact.php
b/CRM/Contact/BAO/Contact.php
index 4071174b3b463e1ea16914973f0d03db517d10a9..ffc78e6d861c89f6d21a65e74317eeaa7efb543d 100644
(file)
--- a/
CRM/Contact/BAO/Contact.php
+++ b/
CRM/Contact/BAO/Contact.php
@@
-1204,6
+1204,7
@@
WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer');
$contact->copyValues($updateParams);
$contact->save();
+ CRM_Core_BAO_Log::register($contact->id, 'civicrm_contact', $contact->id);
CRM_Utils_Hook::post('update', $contact->contact_type, $contact->id, $contact);