Skip to content

Commit a678919

Browse files
committed
Merge branch 'master' of github.com:basvandorst/StravaPHP into master
2 parents c5d432e + 7293a9f commit a678919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Strava/API/Service/REST.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function getResponse($method, $path, $parameters)
9797
$response = $this->adapter->request($method, $path, $parameters);
9898
$result = $this->getResult($response);
9999

100-
if ($this->responseVerbosity === 0)
100+
if ($this->responseVerbosity === 0 && !is_string($result))
101101
return $result["body"];
102102

103103
return $result;

0 commit comments

Comments
 (0)