program/include/rcube_json_output.php
@@ -239,7 +239,7 @@ if (!empty($this->callbacks)) $response['callbacks'] = $this->callbacks; echo json_encode($response); echo json_serialize($response); } @@ -255,7 +255,7 @@ foreach ($this->commands as $i => $args) { $method = array_shift($args); foreach ($args as $i => $arg) { $args[$i] = json_encode($arg); $args[$i] = json_serialize($arg); } $out .= sprintf(