Skip to content

Commit

Permalink
BUG setBody on SS_HTTPRequest is a function
Browse files Browse the repository at this point in the history
When settingt he cached body on the RESTfulService_Response, the setBody should be a function call, not a variable assignment
  • Loading branch information
dhensby committed Feb 18, 2013
1 parent 920fd71 commit 8d32ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/RestfulService.php
Expand Up @@ -588,7 +588,7 @@ public function setCachedBody($content) {
$this->cachedResponse = new RestfulService_Response($content);
}
else {
$this->cachedResponse->setBody = $content;
$this->cachedResponse->setBody($content);
}
}

Expand Down

0 comments on commit 8d32ae9

Please sign in to comment.