X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FStateMachine%2FRegistration.php;h=85f58ced2b35c6046cd9132e787ece61617a01d7;hb=40db2f0f1274ec0a2381423b6ad381810a85c87c;hp=5a946b2020a89b0b382414398b345d1ee25328e4;hpb=a42b57849bd5007b727d3759e433e67585762ad6;p=civicrm-core.git diff --git a/CRM/Event/StateMachine/Registration.php b/CRM/Event/StateMachine/Registration.php index 5a946b2020..85f58ced2b 100644 --- a/CRM/Event/StateMachine/Registration.php +++ b/CRM/Event/StateMachine/Registration.php @@ -42,10 +42,11 @@ class CRM_Event_StateMachine_Registration extends CRM_Core_StateMachine { /** * class constructor * - * @param object CRM_Event_Controller - * @param int $action + * @param object $controller + * @param \const|int $action * - * @return object CRM_Event_StateMachine + * @internal param \CRM_Event_Controller $object + * @return \CRM_Event_StateMachine_Registration CRM_Event_StateMachine */ function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); @@ -89,9 +90,9 @@ class CRM_Event_StateMachine_Registration extends CRM_Core_StateMachine { ); $pages = array_merge($pages, $additionalPages); - + // CRM-11182 - Optional confirmation screen - if (!$is_confirm_enabled) { + if (!$is_confirm_enabled && !$is_monetary) { unset($pages['CRM_Event_Form_Registration_Confirm']); }