Fatal error fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 9 Apr 2015 10:10:32 +0000 (15:40 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 9 Apr 2015 10:10:32 +0000 (15:40 +0530)
CRM/Contribute/Form/AbstractEditPayment.php
CRM/Event/Form/Participant.php

index 8364c3c2653ee032ef1c0d45b6f020a9b5d58200..f20ddeb02e6093c68a41e856fd2f71ac7ea8b077 100644 (file)
@@ -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;
index 7781bd2cea99c2dc398c97e1c9b6d0528858e122..ab8f474cc881024b728a834faceff00fd99ac1a6 100644 (file)
@@ -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;