Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit39b7572

Browse files
authored
Check if trace.curlCommand is defined in profiler
1 parent20e3259 commit39b7572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/http_client.html.twig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
Profile
9292
</th>
9393
{%endif %}
94-
{%iftrace.curlCommandisnotnull %}
94+
{%iftrace.curlCommandisdefinedandtrace.curlCommand %}
9595
<th>
9696
<buttonclass="btn btn-sm hidden"title="Copy as cURL"data-clipboard-text="{{trace.curlCommand }}">Copy as cURL</button>
9797
</th>
@@ -107,7 +107,7 @@
107107
{%endif %}
108108
<tr>
109109
<thclass="font-normal">Response</th>
110-
<td{%iftrace.curlCommand %}colspan="2"{%endif %}>
110+
<td{%iftrace.curlCommandisdefinedandtrace.curlCommand%}colspan="2"{%endif %}>
111111
{%iftrace.http_code>=500 %}
112112
{%setresponseStatus='error' %}
113113
{%elseiftrace.http_code>=400 %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp