Skip to content

Commit

Permalink
Fix retrieving contribution_status_id for manual payment processor
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Dec 3, 2019
1 parent a43ea4b commit fda3080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Payment/Manual.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function doPayment(&$params, $component = 'contribute') {
*/
protected function getResult() {
if (!$this->result) {
$this->setResult(CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'status_id', 'Pending'));
$this->setResult(CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Pending'));
}
return $this->result;
}
Expand Down

0 comments on commit fda3080

Please sign in to comment.