From: Eileen McNaughton Date: Thu, 8 Jan 2015 23:37:13 +0000 (+1300) Subject: Merge pull request #4871 from eileenmcnaughton/CRM-15795 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a946aa64b981cfd2738fa06fa9ce34dd5b76f5f7;p=civicrm-core.git Merge pull request #4871 from eileenmcnaughton/CRM-15795 CRM-15795 prevent silent failure with rollback on participants --- a946aa64b981cfd2738fa06fa9ce34dd5b76f5f7 diff --cc api/v3/Participant.php index 790b3d16f0,9a20b2f1dd..55fb5f60c8 --- a/api/v3/Participant.php +++ b/api/v3/Participant.php @@@ -79,9 -79,10 +79,10 @@@ function civicrm_api3_participant_creat } /** + * @todo this should be done in the BAO not the api * Create a default participant line item */ -function _civicrm_api3_participant_createlineitem(&$params, $participant){ +function _civicrm_api3_participant_createlineitem(&$params, $participant) { // it is possible that a fee level contains information about multiple // price field values.