mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 13:38:41 +00:00
Fixed response key bug
This commit is contained in:
parent
98d89c1af9
commit
3f8b34f00a
|
|
@ -71,7 +71,9 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
||||||
*/
|
*/
|
||||||
public function set($key, $response, bool $overwrite = true) /* : void */
|
public function set($key, $response, bool $overwrite = true) /* : void */
|
||||||
{
|
{
|
||||||
$this->response = ArrayUtils::setArray((string) $key, $this->response, $response, ':', $overwrite);
|
// This is not working since the key kontains :: from http://
|
||||||
|
//$this->response = ArrayUtils::setArray((string) $key, $this->response, $response, ':', $overwrite);
|
||||||
|
$this->response[$key] = $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user