From a685f21d8b74a2a3ba8c6cba3322cad4a8a0ac76 Mon Sep 17 00:00:00 2001 From: Matthew Wire <mjw@mjwconsult.co.uk> Date: Sun, 1 Mar 2020 15:16:10 +0000 Subject: [PATCH] Make sure we generate backend contact links for customer metadata --- CRM/Stripe/Customer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Stripe/Customer.php b/CRM/Stripe/Customer.php index 38c1af6e..6ba3a05a 100644 --- a/CRM/Stripe/Customer.php +++ b/CRM/Stripe/Customer.php @@ -203,7 +203,7 @@ class CRM_Stripe_Customer { 'email' => CRM_Utils_Array::value('email', $params), 'metadata' => [ 'CiviCRM Contact ID' => $params['contact_id'], - 'CiviCRM URL' => CRM_Utils_System::url('civicrm/contact/view', "reset=1&cid={$params['contact_id']}", TRUE), + 'CiviCRM URL' => CRM_Utils_System::url('civicrm/contact/view', "reset=1&cid={$params['contact_id']}", TRUE, NULL, TRUE, FALSE, TRUE), 'CiviCRM Version' => CRM_Utils_System::version() . ' ' . civicrm_api3('Extension', 'getvalue', ['return' => "version", 'full_name' => E::LONG_NAME]), ], ]; -- GitLab