Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6090

contributions api misnamed (?)

    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.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: