8000 bug #59776 [WebProfilerBundle] fix rendering notifier message options… · symfony/symfony@f5b66b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit f5b66b5

Browse files
bug #59776 [WebProfilerBundle] fix rendering notifier message options (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [WebProfilerBundle] fix rendering notifier message options | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #59377 (comment) | License | MIT Commits ------- d4e8a5c fix rendering notifier message options
2 parents 3062f05 + d4e8a5c commit f5b66b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/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