From ed0982addc6c06cd1b2e15fd02d53560b84b4e9f Mon Sep 17 00:00:00 2001
From: Jaap Jansma <jaap.jansma@civicoop.org>
Date: Thu, 3 Dec 2020 18:38:08 +0100
Subject: [PATCH] fixed issue after adding smart group

---
 .../DataProcessorContactSummaryTab.php        | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/CRM/Contact/DataProcessorContactSummaryTab.php b/CRM/Contact/DataProcessorContactSummaryTab.php
index c8d609c3..ce7ffcd9 100644
--- a/CRM/Contact/DataProcessorContactSummaryTab.php
+++ b/CRM/Contact/DataProcessorContactSummaryTab.php
@@ -226,6 +226,29 @@ class CRM_Contact_DataProcessorContactSummaryTab implements UIFormOutputInterfac
     return "civicrm/dataprocessor_contact_summary/{$dataProcessor['name']}";
   }
 
+  /**
+   * Returns the data processor name from a url.
+   *
+   * @param $url
+   *
+   * @return string
+   */
+  public function getDataProcessorNameFromUrl($url) {
+    return str_replace('civicrm/dataprocessor_contact_summary/', '', $url);
+  }
+
+  /**
+   * Returns the name of the contact id field.
+   *
+   * @param $config
+   *
+   * @return string|false
+   */
+  public function getContactIdFieldNameFromConfig($config) {
+    return false;
+  }
+
+
   /**
    * Returns the url for the page/form this output will show to the user
    *
-- 
GitLab