8000 Merge branch '7.2' into 7.3 · symfony/web-profiler-bundle@d778f2c · GitHub
[go: up one dir, main page]

Skip to content

Commit d778f2c

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Collector/notifier.html.twig

Lines changed: 1 addition & 1 deletion
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)
0