Fix event participants getting overwritten
authorPatrick Figel <pfigel@greenpeace.org>
Tue, 14 May 2019 14:35:29 +0000 (16:35 +0200)
committerPatrick Figel <pfigel@greenpeace.org>
Thu, 13 Jun 2019 21:26:00 +0000 (23:26 +0200)
CRM/Event/Form/Participant.php

index d0426e4caa2404a37390ad39b5accca79c634251..f86fca2c27772a3921269e5426ee0fec0d792294 100644 (file)
@@ -258,7 +258,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
       $this->_id = NULL;
     }
     else {
-      $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
+      $this->_id = CRM_Utils_Request::retrieve('id', 'Positive');
     }
 
     if ($this->_id) {