//get soft credit record if exists.
$softParams = array('contribution_id' => CRM_Utils_Array::value('contribution_id', $values));
- $softContribution = CRM_Contribute_BAO_Contribution::getSoftContribution($softParams);
+ $softContribution = CRM_Contribute_BAO_ContributionSoft::getSoftContribution($softParams);
if (!empty($softContribution)) {
foreach($softContribution as &$individualSoftContribution) {
$individualSoftContribution['softCreditToName'] = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact',