Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.6, 4.0.6
-
Fix Version/s: 3.4.7
-
Component/s: CiviContribute
-
Labels:None
Description
Index: all/modules/civicrm/CRM/Core/Payment/BaseIPN.php
I found a very simple fix for it - but I see that Deepak has refactored the function somewhat so it may be that CRM_Contribute_Form_Task_PDF can call the CRM_Contribute_BAO_ContributionPage::sendMail function directly & get away from the 'via-IPN-function' hack?
===================================================================
— all/modules/civicrm/CRM/Core/Payment/BaseIPN.php (revision 1351)
+++ all/modules/civicrm/CRM/Core/Payment/BaseIPN.php (working copy)
@@ -941,7 +941,7 @@
$url = $paymentObject->cancelSubscriptionURL( $membership->id, 'membership' );
$template->assign( 'cancelSubscriptionUrl', $url );
}
- CRM_Contribute_BAO_ContributionPage::sendMail( $ids['contact'], $values, $isTest, $returnMessageText );
+ return CRM_Contribute_BAO_ContributionPage::sendMail( $ids['contact'], $values, $isTest, $returnMessageText );
}
}
} else {