Skip to content

Commit

Permalink
Fixed: too large integers not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
olegkrivtsov committed Mar 14, 2018
1 parent 18149de commit ca977e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebMarketingROI/OptimizelyPHP/OptimizelyApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ private function sendHttpRequest($url, $queryParams = array(), $method='GET',
);
$content = '';
if (count($postData)!=0) {
$content = json_encode($postData);
$content = json_encode($postData, JSON_NUMERIC_CHECK);
}
$headers[] = "Content-length:" . strlen($content);

Expand Down

0 comments on commit ca977e5

Please sign in to comment.