Permalink
Browse files

BUG setBody on SS_HTTPRequest is a function

When settingt he cached body on the RESTfulService_Response, the setBody should be a function call, not a variable assignment
  • Loading branch information...
1 parent 920fd71 commit 8d32ae954b244a6b7e575f85c6f371b440ffd719 @dhensby dhensby committed Feb 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 api/RestfulService.php
View
@@ -588,7 +588,7 @@ public function setCachedBody($content) {
$this->cachedResponse = new RestfulService_Response($content);
}
else {
- $this->cachedResponse->setBody = $content;
+ $this->cachedResponse->setBody($content);
}
}

0 comments on commit 8d32ae9

Please sign in to comment.