From 8f51b00da3e64244b605388fba2998237d4b3d12 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 3 Nov 2022 10:54:14 -0600 Subject: [PATCH] No need to merge into signature if there is no signature --- api/src/Storage/Tracking.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Storage/Tracking.php b/api/src/Storage/Tracking.php index 2de69251ce..21c04f5655 100644 --- a/api/src/Storage/Tracking.php +++ b/api/src/Storage/Tracking.php @@ -1266,9 +1266,9 @@ abstract class Tracking { error_log($this->app . ' did not properly implement bo_tracking->id_field. Merge skipped.'); } - elseif(class_exists($this->app. '_merge')) + elseif(class_exists($this->app . '_merge') && $config['signature']) { - $merge_class = $this->app.'_merge'; + $merge_class = $this->app . '_merge'; $merge = new $merge_class(); $error = null; $sig = $merge->merge_string($config['signature']??null, array($data[$this->id_field]), $error, 'text/html');