Open RonanBitpuma opened 3 years ago
The piece of code causing the issue: https://github.com/ActiveCampaign/activecampaign-api-php/blob/2bf5b72ba8668de8dcb27e194948028276e748c5/includes/ActiveCampaign.class.php#L78-L83
This is what I do:
What I did to reproduce the bug
$ac->url_base
api_url.com/2/2
/2
Because of this bug it requires me to create new instances of the ActiveCampaign class, instead of using one single instance
ActiveCampaign
The piece of code causing the issue: https://github.com/ActiveCampaign/activecampaign-api-php/blob/2bf5b72ba8668de8dcb27e194948028276e748c5/includes/ActiveCampaign.class.php#L78-L83
This is what I do:
What I did to reproduce the bug
$ac->url_base
now returnsapi_url.com/2/2
(Note the double/2
!)Because of this bug it requires me to create new instances of the
ActiveCampaign
class, instead of using one single instance