From: deb.monish Date: Sun, 22 Jul 2018 06:20:43 +0000 (+0530) Subject: dev/core#272 : Fatal Error (Regression) on PCP pages associated with Events X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0ebdca14f1fefd3ba676e303c62333a84590c7b3;p=civicrm-core.git dev/core#272 : Fatal Error (Regression) on PCP pages associated with Events --- 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);