Skip to content

Commit

Permalink
Merge pull request #13572 from eileenmcnaughton/cc_511
Browse files Browse the repository at this point in the history
Fix regression whereby making receive_date required breaks back offic…
  • Loading branch information
seamuslee001 authored Feb 11, 2019
2 parents 972e581 + 402ab8b commit f00807e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/Form/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ public function buildQuickForm() {
}

// add various dates
$this->addField('receive_date', array('entity' => 'contribution'), TRUE, FALSE);
$this->addField('receive_date', array('entity' => 'contribution'), !$this->_mode, FALSE);
$this->addField('receipt_date', array('entity' => 'contribution'), FALSE, FALSE);
$this->addField('cancel_date', array('entity' => 'contribution', 'label' => ts('Cancelled / Refunded Date')), FALSE, FALSE);

Expand Down

0 comments on commit f00807e

Please sign in to comment.