@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } else if ($data instanceof IJsonable) { |
| 26 | 26 | $json = $data->toJson($options); |
| 27 | 27 | } else if (is_array($data) || is_object($data)) { |
| 28 | - $json = @json_encode($data, $options); |
|
| 28 | + $json = @json_encode($data, $options); |
|
| 29 | 29 | } else { |
| 30 | 30 | throw new InvalidDataTypeException( |
| 31 | 31 | s('Can not convert data of type "%s" to json.', get_type($data)) |