From 5b7c9ebcc335526f250e79d935dc7fe1bc5ba34d Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 9 Apr 2015 15:40:32 +0530 Subject: [PATCH] Fatal error fix --- CRM/Contribute/Form/AbstractEditPayment.php | 2 +- CRM/Event/Form/Participant.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index 8364c3c265..f20ddeb02e 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -37,7 +37,7 @@ * This class generates form components for processing a contribution * */ -class CRM_Contribute_Form_AbstractEditPayment extends CRM_Core_Form { +class CRM_Contribute_Form_AbstractEditPayment extends CRM_Contact_Form_Task { public $_mode; public $_action; diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 7781bd2cea..ab8f474cc8 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -322,7 +322,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $this->_action = CRM_Core_Action::COPY; break; } - CRM_Contact_Form_Task::preProcessCommon($this); + parent::preProcess(); $this->_single = FALSE; $this->_contactId = NULL; -- 2.25.1