From d6bf90ee7ec827019a8377c7a4174c043f56fc94 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Wed, 18 Jan 2023 20:00:33 +0000 Subject: [PATCH] Payment: getCancelUrl participant default value of NULL --- CRM/Core/Payment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 2280a1699f..84e47800bc 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -1175,11 +1175,11 @@ abstract class CRM_Core_Payment { * Get url to return to after cancelled or failed transaction. * * @param string $qfKey - * @param int $participantID + * @param int|NULL $participantID * * @return string cancel url */ - public function getCancelUrl($qfKey, $participantID) { + public function getCancelUrl($qfKey, $participantID = NULL) { if (isset($this->cancelUrl)) { return $this->cancelUrl; } -- 2.25.1