- Fixes data not being passed to API buildRequest method

This commit is contained in:
Vlad
2016-07-06 09:31:13 -04:00
parent 2db681d908
commit bd814baf28
2 changed files with 4 additions and 2 deletions

View File

@ -68,6 +68,7 @@ class Links {
$tracked_link = API::buildRequest(
TrackAPI::ENDPOINT,
TrackAPI::ACTION_CLICK,
$data,
$encode_data = false
);
// first, replace URL in the extracted HTML source with encoded link