mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
920fd71a2f
commit
8d32ae954b
@ -588,7 +588,7 @@ class RestfulService_Response extends SS_HTTPResponse {
|
|||||||
$this->cachedResponse = new RestfulService_Response($content);
|
$this->cachedResponse = new RestfulService_Response($content);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$this->cachedResponse->setBody = $content;
|
$this->cachedResponse->setBody($content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user