projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #22652 from civicrm/5.46
[civicrm-core.git]
/
CRM
/
Logging
/
Reverter.php
diff --git
a/CRM/Logging/Reverter.php
b/CRM/Logging/Reverter.php
index eb1c9dedc16c1f9964e89f519075838fc0821ec1..9d65c0c93875f2a9876c1091edb83614f5688a20 100644
(file)
--- a/
CRM/Logging/Reverter.php
+++ b/
CRM/Logging/Reverter.php
@@
-140,7
+140,7
@@
class CRM_Logging_Reverter {
// custom data tables
// custom data tables
- case
in_array($table, array_keys($ctypes)
):
+ case
array_key_exists($table, $ctypes
):
foreach ($row as $id => $changes) {
$inserts = ['id' => '%1'];
$updates = [];
foreach ($row as $id => $changes) {
$inserts = ['id' => '%1'];
$updates = [];