From 0ebdca14f1fefd3ba676e303c62333a84590c7b3 Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Sun, 22 Jul 2018 11:50:43 +0530 Subject: [PATCH] dev/core#272 : Fatal Error (Regression) on PCP pages associated with Events --- CRM/Event/Form/Registration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Registration.php b/CRM/Event/Form/Registration.php index 7c10574c60..e284d2daf1 100644 --- a/CRM/Event/Form/Registration.php +++ b/CRM/Event/Form/Registration.php @@ -196,7 +196,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { */ public function preProcess() { $this->_eventId = CRM_Utils_Request::retrieve('id', 'Positive', $this, TRUE); - $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE); + $this->_action = CRM_Utils_Request::retrieve('action', 'Alphanumeric', $this, FALSE, CRM_Core_Action::ADD); //CRM-4320 $this->_participantId = CRM_Utils_Request::retrieve('participantId', 'Positive', $this); -- 2.25.1