Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.3
-
Fix Version/s: 3.1.4
-
Component/s: CiviContribute
-
Labels:None
Description
I was trying to implement crmAPI for contributions, and it appears the fact that the api file is named contribute.php and the functions are all contribution_ screws it up (rendering errors or crashing the page). In my case I was trying to call civicrm_contribution_get()
As a workaround, I just created a second function that calls the existing function – see attached, line 133 – which may be the best way to fix it without breaking existing code that people are using.