backport 20641
authordemeritcowboy <demeritcowboy@hotmail.com>
Wed, 23 Jun 2021 12:40:26 +0000 (08:40 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Wed, 23 Jun 2021 12:40:26 +0000 (08:40 -0400)
CRM/Financial/Form/PaymentEdit.php

index be09c71c26288e294baad582db82fa5423298284..e0f30ed75efa289fe334b6951935ed8edb900be4 100644 (file)
@@ -175,7 +175,7 @@ class CRM_Financial_Form_PaymentEdit extends CRM_Core_Form {
     $contactId = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_Contribution', $this->getContributionID(), 'contact_id');
     $url = CRM_Utils_System::url(
       "civicrm/contact/view/contribution",
-      "reset=1&action=update&id={" . $this->getContributionID() . "}&cid={$contactId}&context=contribution"
+      "reset=1&action=update&id=" . $this->getContributionID() . "&cid={$contactId}&context=contribution"
     );
     CRM_Core_Session::singleton()->pushUserContext($url);
   }