From bb2240a2af2528b41d75f0a1b5fe5803e8746277 Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 10 Sep 2015 11:35:42 +0530 Subject: [PATCH] =?utf8?q?CRM-17015:=20=E2=80=9CSold=20out=E2=80=9D=20eSor?= =?utf8?q?=20mestge=20when=20registering=20event=20with=20PayPal=20Express?= =?utf8?q?=20payment=20(event=20is=20not=20full=20though)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ---------------------------------------- * CRM-17015: “Sold out” error message when registering event with PayPal Express payment (event is not full though) https://issues.civicrm.org/jira/browse/CRM-17015 --- CRM/Event/Form/Registration/Confirm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index 08c6ce521f..ba8b2cef4c 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -144,6 +144,9 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { if (!in_array($name, $skipFields)) { $params[$name] = $value; } + if (substr($name, 0, 6) == 'price_') { + $params[$name] =$this->_params[0][$name]; + } } $this->set('getExpressCheckoutDetails', $params); } -- 2.25.1