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

'contribution_id' => false results in unexpected behavior

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.8
    • Fix Version/s: 4.2.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      An API call as
      $params = array(
      'contribution_id' => false,
      'version' => 3,
      'check_permissions' => false,
      );
      $contribution = civicrm_api( 'Contribution', 'Get', $params);
      does not result in an API response containing an error message but the following error:
      Sorry. A non-recoverable error has occurred.
      is not of the type Integer

        Attachments

          Activity

            People

            • Assignee:
              xavier xavier dutoit
              Reporter:
              prolineserver Holger Motzkau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: