X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FLogging%2FReverter.php;h=9d65c0c93875f2a9876c1091edb83614f5688a20;hb=18b53a178bc6651494682fc90c0358a10347ada3;hp=eb1c9dedc16c1f9964e89f519075838fc0821ec1;hpb=093e8cc14b638518ace7131472225302a9683eee;p=civicrm-core.git diff --git a/CRM/Logging/Reverter.php b/CRM/Logging/Reverter.php index eb1c9dedc1..9d65c0c938 100644 --- a/CRM/Logging/Reverter.php +++ b/CRM/Logging/Reverter.php @@ -140,7 +140,7 @@ class CRM_Logging_Reverter { // 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 = [];