Skip to content

Commit 4ffde1c

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: fix rendering notifier message options Enable `JSON_PRESERVE_ZERO_FRACTION` in `jsonRequest` method [TwigBridge] Fix compatibility with Twig 3.21
2 parents bf7ef39 + 7d1026a commit 4ffde1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Collector/notifier.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
{%- if message.getOptions() is null %}
152152
{{- '(empty)' }}
153153
{%- else %}
154-
{{- message.getOptions()|json_encode(constant('JSON_PRETTY_PRINT')) }}
154+
{{- message.getOptions().toArray()|json_encode(constant('JSON_PRETTY_PRINT')) }}
155155
{%- endif %}
156156
</pre>
157157
</div>

0 commit comments

Comments
 (0)