mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 21:48:41 +00:00
Documenting bug for api.
This commit is contained in:
parent
477cec1c26
commit
80d7f78e72
|
|
@ -265,6 +265,9 @@ class Response extends ResponseAbstract implements RenderableInterface
|
||||||
{
|
{
|
||||||
$render = $this->head->render();
|
$render = $this->head->render();
|
||||||
|
|
||||||
|
// todo: fix api return
|
||||||
|
// right now it is_object hence not printing the request key => object and only object->render();
|
||||||
|
// this can't be changed easily since view uses this as well and this mustn't print a key. maybe view instanceof View?
|
||||||
foreach ($this->response as $key => $response) {
|
foreach ($this->response as $key => $response) {
|
||||||
if (is_object($response)) {
|
if (is_object($response)) {
|
||||||
$render .= $response->render();
|
$render .= $response->render();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user