CRM-17434 fix - Free event registration with 'skip confirmation' throws warning
authormonishdeb <monish.deb@webaccessglobal.com>
Fri, 23 Oct 2015 11:23:34 +0000 (16:53 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Fri, 23 Oct 2015 11:23:34 +0000 (16:53 +0530)
https://issues.civicrm.org/jira/browse/CRM-17434

CRM/Event/Form/Registration/Register.php

index 7dc007f0b90d175f4e6e87e23d2bce918d4277bd..319832792b1b134e1c7e13118175c40b75086587 100644 (file)
@@ -1172,7 +1172,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
    *   Form values.
    * @param int $contactID
    */
-  public function processRegistration($params, $contactID = NULL) {
+  public static function processRegistration($params, $contactID = NULL) {
     $session = CRM_Core_Session::singleton();
     $this->_participantInfo = array();