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
This commit is contained in:
Daniel Hensby 2013-02-18 11:55:11 +00:00
parent 920fd71a2f
commit 8d32ae954b

View File

@ -588,7 +588,7 @@ class RestfulService_Response extends SS_HTTPResponse {
$this->cachedResponse = new RestfulService_Response($content);
}
else {
$this->cachedResponse->setBody = $content;
$this->cachedResponse->setBody($content);
}
}