Skip to content

Commit

Permalink
Merge pull request #59 from Shagshag/patch-1
Browse files Browse the repository at this point in the history
fix ID converted as float in getData()
  • Loading branch information
ajimix committed Feb 11, 2017
2 parents 03aa563 + 722fc80 commit 6b2e170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asana.php
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ public function getData()
{
if (!$this->hasError()) {
$array = $this->returnType == ASANA_RETURN_TYPE_ARRAY;
$return = json_decode($this->response, $array);
$return = json_decode($this->response, $array, 512, JSON_BIGINT_AS_STRING);

if ($array && isset($return['data'])){
return $return['data'];
Expand Down

0 comments on commit 6b2e170

Please sign in to comment.