From ded1aa6ea031f48f10622cdd43250d790012320e Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Fri, 22 Jul 2016 15:50:28 -0500 Subject: [PATCH] CRM-19120: Fix display of chain-select fields in event cart. --- CRM/Event/Cart/Page/CheckoutAJAX.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Event/Cart/Page/CheckoutAJAX.php b/CRM/Event/Cart/Page/CheckoutAJAX.php index 6d55e4e449..73f0982923 100644 --- a/CRM/Event/Cart/Page/CheckoutAJAX.php +++ b/CRM/Event/Cart/Page/CheckoutAJAX.php @@ -35,9 +35,8 @@ class CRM_Event_Cart_Page_CheckoutAJAX { $requiredTemplate = file_get_contents($templateDir . '/CRM/Form/label.tpl'); $renderer->setRequiredTemplate($requiredTemplate); - $form->accept($renderer); $template = CRM_Core_Smarty::singleton(); - $template->assign('form', $renderer->toArray()); + $template->assign('form', $form->toSmarty()); $template->assign('participant', $participant); $output = $template->fetch("CRM/Event/Cart/Form/Checkout/Participant.tpl"); $transaction->commit(); -- 2.25.1