Skip to content

Commit

Permalink
Merge pull request #12532 from JMAConsulting/dev-core-272
Browse files Browse the repository at this point in the history
dev/core#272 : Fatal Error (Regression) on PCP pages associated with Events
  • Loading branch information
eileenmcnaughton authored Jul 23, 2018
2 parents 2fdefdb + bb1c223 commit 4c2ec1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Event/Form/Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4c2ec1f

Please sign in to comment.