diff options
Diffstat (limited to 'plugins/API')
-rw-r--r-- | plugins/API/Renderer/Original.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/API/Renderer/Original.php b/plugins/API/Renderer/Original.php index 815d475d71..2db1ae2e71 100644 --- a/plugins/API/Renderer/Original.php +++ b/plugins/API/Renderer/Original.php @@ -50,12 +50,12 @@ class Original extends ApiRenderer public function renderScalar($scalar) { - return $scalar; + return $this->serializeIfNeeded($scalar); } public function renderObject($object) { - return $object; + return $this->serializeIfNeeded($object); } public function renderResource($resource) |