[#44] change campaign_id data type to string

This commit is contained in:
Marc Michalsky forumZFD 2021-02-19 14:52:32 +01:00
parent 921ea49deb
commit c06ba098c1
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -234,7 +234,7 @@ function _civicrm_api3_twingle_donation_Submit_spec(&$params) {
$params['campaign_id'] = array(
'name' => 'campaign_id',
'title' => E::ts('Campaign ID'),
'type' => CRM_Utils_Type::T_INT,
'type' => CRM_Utils_Type::T_STRING,
'api.required' => 0,
'description' => E::ts('The CiviCRM ID of a campaign to assign the contribution.'),
);