Skip to content
Snippets Groups Projects
Unverified Commit b4e8c2b4 authored by Patrick Figel's avatar Patrick Figel
Browse files

financial#50 - Fix contributions getting overwritten

This fixes an issue where contributions may be overwritten when users
open an existing contribution after opening the "Record Contribution"
form (but before actually submitting it).
parent f6d557f1
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
$this->assign('action', $this->_action);
// Get the contribution id if update
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive');
if (!empty($this->_id)) {
$this->assignPaymentInfoBlock();
$this->assign('contribID', $this->_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment