$contribution = new CRM_Contribute_BAO_Contribution();
$contribution->id = $ids['contribution'];
- $contribution->find();
+ $contribution->find(TRUE);
if (empty($contribution->_component)) {
if (!empty($ids['event'])) {
$contribution = new CRM_Contribute_BAO_Contribution();
$contribution->id = $contributionID;
- $contribution->fetch();
+ $contribution->find(TRUE);
// @todo this is only used now to load the event title, it causes an enotice
// and calls deprecated code. If we decide a contribution title is a
// 'real thing' then we should create a token.