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

API crm_get_membership_types() and crm_get_membership_statuses() should not have required parameters

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Currently these two API calls require a valid ID to be passed as a parameter. This prevents using the API to get a list of all membership types or statuses. I'm not sure why this check is in here and removing it seems to have no adverse effect. See attached patch

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: